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:
8403b01
)
udhcpc: fix for some Android toolchain breakage
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 8 Oct 2015 16:13:57 +0000
(18:13 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 8 Oct 2015 16:13:57 +0000
(18:13 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/dhcpc.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpc.c
b/networking/udhcp/dhcpc.c
index 11f7b2d49b203a750cdc9913c39285ba246cc8d3..915f659357100bcd322e23fc1cf6dadf51e4214d 100644
(file)
--- a/
networking/udhcp/dhcpc.c
+++ b/
networking/udhcp/dhcpc.c
@@
-29,6
+29,20
@@
#include <linux/filter.h>
#include <linux/if_packet.h>
+#ifndef PACKET_AUXDATA
+# define PACKET_AUXDATA 8
+struct tpacket_auxdata {
+ uint32_t tp_status;
+ uint32_t tp_len;
+ uint32_t tp_snaplen;
+ uint16_t tp_mac;
+ uint16_t tp_net;
+ uint16_t tp_vlan_tci;
+ uint16_t tp_padding;
+};
+#endif
+
+
/* "struct client_config_t client_config" is in bb_common_bufsiz1 */