summaryrefslogtreecommitdiffstats
path: root/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c.h')
-rw-r--r--include/c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c.h b/include/c.h
index aec34394d..08dab934a 100644
--- a/include/c.h
+++ b/include/c.h
@@ -21,6 +21,10 @@
# include <err.h>
#endif
+#ifdef HAVE_SYS_SYSMACROS_H
+# include <sys/sysmacros.h> /* for major, minor */
+#endif
+
/*
* Compiler-specific stuff
*/