aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6358e654a..dd82e9754 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -33,6 +33,9 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
+#ifndef major
+# include <sys/sysmacros.h>
+#endif
#include <sys/wait.h>
#include <termios.h>
#include <time.h>