summaryrefslogtreecommitdiffstats
path: root/package/ifplugd/ifplugd-fix-headers.patch
blob: 06372a26a05d031ed6b22b5afb4118c8ce0a9dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
 src/interface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ifplugd-0.28/src/interface.c
===================================================================
--- ifplugd-0.28.orig/src/interface.c
+++ ifplugd-0.28/src/interface.c
@@ -23,7 +23,6 @@
 #endif
 
 #include <linux/sockios.h>
-#include <linux/if_ether.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
@@ -32,6 +31,7 @@
 #include <string.h>
 #include <errno.h>
 #include <netinet/in.h>
+#include <netinet/if_ether.h>
 #include <stdio.h>
 #include <ctype.h>
 #include <stdlib.h>