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:
9f07af6
)
iplink: comment out include <net/if_packet.h>
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 16 Aug 2013 10:20:25 +0000
(12:20 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 16 Aug 2013 10:20:25 +0000
(12:20 +0200)
iplink.c includes net/if_packet.h, which (on GLIBC)
only defines struct sockaddr_pkt. this struct is not
used anywhere in the code, and removing the #include
makes compilation succeed with musl libc.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/iplink.c
patch
|
blob
|
history
diff --git
a/networking/libiproute/iplink.c
b/networking/libiproute/iplink.c
index a686eb201cda5f8cb19850101a984a5dde4c7769..286e59ebf8b11558fbf62f286702739906b2fd10 100644
(file)
--- a/
networking/libiproute/iplink.c
+++ b/
networking/libiproute/iplink.c
@@
-6,7
+6,7
@@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#include <net/if.h>
-#include <net/if_packet.h>
+/*#include <net/if_packet.h> - not needed? */
#include <netpacket/packet.h>
#include <netinet/if_ether.h>