diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-12 16:29:32 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-12 16:29:32 +0100 |
commit | 4f13a7050787aadb402c9c47aae0ff778dbc2c8b (patch) | |
tree | a532a56774c5fd7a4c07c727a696dac70000519b | |
parent | df25df784f2bbc5e3b27f8be6c3555c358f470c1 (diff) | |
download | busybox-w32-4f13a7050787aadb402c9c47aae0ff778dbc2c8b.tar.gz busybox-w32-4f13a7050787aadb402c9c47aae0ff778dbc2c8b.tar.bz2 busybox-w32-4f13a7050787aadb402c9c47aae0ff778dbc2c8b.zip |
suppress glibc "use sysmacros.h for major" warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2e9ea46e2..b1fec0157 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <sys/stat.h> | 45 | #include <sys/stat.h> |
46 | #include <sys/time.h> | 46 | #include <sys/time.h> |
47 | #include <sys/types.h> | 47 | #include <sys/types.h> |
48 | #ifndef major | 48 | #if !defined(major) || defined(__GLIBC__) |
49 | # include <sys/sysmacros.h> | 49 | # include <sys/sysmacros.h> |
50 | #endif | 50 | #endif |
51 | #include <sys/wait.h> | 51 | #include <sys/wait.h> |