diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-07 14:58:57 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-07 14:58:57 +0100 |
commit | dd807c16f99b4ead544289b83c88cc2488542f72 (patch) | |
tree | 0df40d5335bd583c7d00720cfbb0d14b64a32cd5 | |
parent | 5a746dcec5c1e09c3cff0326c3b205d2427861f0 (diff) | |
download | busybox-w32-dd807c16f99b4ead544289b83c88cc2488542f72.tar.gz busybox-w32-dd807c16f99b4ead544289b83c88cc2488542f72.tar.bz2 busybox-w32-dd807c16f99b4ead544289b83c88cc2488542f72.zip |
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>
-rw-r--r-- | include/libbb.h | 3 | ||||
-rw-r--r-- | include/platform.h | 2 |
2 files changed, 4 insertions, 1 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 @@ | |||
33 | #include <sys/stat.h> | 33 | #include <sys/stat.h> |
34 | #include <sys/time.h> | 34 | #include <sys/time.h> |
35 | #include <sys/types.h> | 35 | #include <sys/types.h> |
36 | #ifndef major | ||
37 | # include <sys/sysmacros.h> | ||
38 | #endif | ||
36 | #include <sys/wait.h> | 39 | #include <sys/wait.h> |
37 | #include <termios.h> | 40 | #include <termios.h> |
38 | #include <time.h> | 41 | #include <time.h> |
diff --git a/include/platform.h b/include/platform.h index 9d6e21626..f0b8ec10a 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -362,7 +362,7 @@ typedef unsigned smalluint; | |||
362 | 362 | ||
363 | #endif | 363 | #endif |
364 | 364 | ||
365 | #if defined(__GLIBC__) | 365 | #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__) |
366 | # define fdprintf dprintf | 366 | # define fdprintf dprintf |
367 | #endif | 367 | #endif |
368 | 368 | ||