aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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>