aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYour Name <you@example.com>2019-10-08 07:10:24 +0100
committerYour Name <you@example.com>2019-10-08 07:10:24 +0100
commitef6a23c56c21718489536a0475107029eaf1e993 (patch)
treebec79eb4f6a2e3c86b5dd14249248b2c615e1a62 /src
parentc9b8482030929f53937e32fce63c78a4a0acadfd (diff)
downloadsympathy-ef6a23c56c21718489536a0475107029eaf1e993.tar.gz
sympathy-ef6a23c56c21718489536a0475107029eaf1e993.tar.bz2
sympathy-ef6a23c56c21718489536a0475107029eaf1e993.zip
use sysmacros.h for major/minor
Diffstat (limited to 'src')
-rw-r--r--src/lockfile.c4
-rw-r--r--src/project.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lockfile.c b/src/lockfile.c
index d176325..736e6f3 100644
--- a/src/lockfile.c
+++ b/src/lockfile.c
@@ -94,6 +94,10 @@ stop_wno_unused_on_rcsid (void)
#include <sys/time.h>
#include <signal.h>
+#if defined (HAVE_SYS_SYSMACROS_H)
+#include <sys/sysmacros.h>
+#endif
+
#include "lockfile.h"
extern void *xmalloc (size_t);
diff --git a/src/project.h b/src/project.h
index 1eda998..cc9135c 100644
--- a/src/project.h
+++ b/src/project.h
@@ -102,6 +102,10 @@
#include <sys/stat.h>
#endif
+#if defined (HAVE_SYS_SYSMACROS_H)
+#include <sys/sysmacros.h>
+#endif
+
#include <signal.h>
#include <fcntl.h>
#include <errno.h>