projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unbreak allmodconfig KCONFIG_ALLCONFIG=...
[carl9170fw.git]
/
tools
/
src
/
wol.c
diff --git
a/tools/src/wol.c
b/tools/src/wol.c
index 41daba2a7b66e75e4271e2602be79c04e157400e..f2bd51b2208f20e4eb488c27fc65eba6d1557236 100644
(file)
--- a/
tools/src/wol.c
+++ b/
tools/src/wol.c
@@
-25,10
+25,12
@@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <arpa/inet.h>
+#include <net/if.h>
+
#include <linux/types.h>
#include <linux/if_ether.h> /* ETH_P_ALL */
#include <linux/if_packet.h> /* sockaddr_ll */
#include <linux/types.h>
#include <linux/if_ether.h> /* ETH_P_ALL */
#include <linux/if_packet.h> /* sockaddr_ll */
-#include <linux/if.h> /* IFNAMSIZ */
static int monitor_init(const char *ifname)
{
static int monitor_init(const char *ifname)
{