summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-02-07 14:58:57 +0100
committerDenys Vlasenko2011-02-07 14:58:57 +0100
commitdd807c16f99b4ead544289b83c88cc2488542f72 (patch)
tree0df40d5335bd583c7d00720cfbb0d14b64a32cd5 /include/libbb.h
parent5a746dcec5c1e09c3cff0326c3b205d2427861f0 (diff)
downloadbusybox-dd807c16f99b4ead544289b83c88cc2488542f72.zip
busybox-dd807c16f99b4ead544289b83c88cc2488542f72.tar.gz
incorporate header fixes proposed in bug 3097
Not sure these are *really* needed, but I suppose they don't hurt Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 6358e65..dd82e97 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>