diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-16 12:20:25 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-16 12:20:25 +0200 |
| commit | ec2bef11a7ea6381b21e77a3a83cc7730b7e9aef (patch) | |
| tree | 4393e16049a20cfc5a7f38e4c61e2b2b4a21ef09 | |
| parent | 9f07af6156267f1e3064c14f2bee96560f7ed69d (diff) | |
| download | busybox-w32-ec2bef11a7ea6381b21e77a3a83cc7730b7e9aef.tar.gz busybox-w32-ec2bef11a7ea6381b21e77a3a83cc7730b7e9aef.tar.bz2 busybox-w32-ec2bef11a7ea6381b21e77a3a83cc7730b7e9aef.zip | |
iplink: comment out include <net/if_packet.h>
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>
| -rw-r--r-- | networking/libiproute/iplink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index a686eb201..286e59ebf 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 7 | */ | 7 | */ |
| 8 | #include <net/if.h> | 8 | #include <net/if.h> |
| 9 | #include <net/if_packet.h> | 9 | /*#include <net/if_packet.h> - not needed? */ |
| 10 | #include <netpacket/packet.h> | 10 | #include <netpacket/packet.h> |
| 11 | #include <netinet/if_ether.h> | 11 | #include <netinet/if_ether.h> |
| 12 | 12 | ||
