projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df25df7
)
suppress glibc "use sysmacros.h for major" warning
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 12 Dec 2016 15:29:32 +0000
(16:29 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 12 Dec 2016 15:29:32 +0000
(16:29 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
patch
|
blob
|
history
diff --git
a/include/libbb.h
b/include/libbb.h
index 2e9ea46e2f0ce72800ddab6813210e9feddbfab2..b1fec01577fb0608fffcbca00c772abe445e0364 100644
(file)
--- a/
include/libbb.h
+++ b/
include/libbb.h
@@
-45,7
+45,7
@@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
-#if
ndef major
+#if
!defined(major) || defined(__GLIBC__)
# include <sys/sysmacros.h>
#endif
#include <sys/wait.h>