projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bunch of defined(__GLIBC__) added. static-linking warning expanded
[oweals/busybox.git]
/
networking
/
ifconfig.c
diff --git
a/networking/ifconfig.c
b/networking/ifconfig.c
index ae5b468cec974e0c3100af44ce488d80ef517d7e..242bd06387dd48c7ff099e1920957d6550b2295e 100644
(file)
--- a/
networking/ifconfig.c
+++ b/
networking/ifconfig.c
@@
-29,7
+29,7
@@
#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/in.h>
-#if __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
+#if
defined(__GLIBC__) &&
__GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
#include <netpacket/packet.h>
#include <net/ethernet.h>
#else
#include <netpacket/packet.h>
#include <net/ethernet.h>
#else