xref: /OK3568_Linux_fs/buildroot/package/ifplugd/0002-fix-headers.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1---
2 src/interface.c |    2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5Index: ifplugd-0.28/src/interface.c
6===================================================================
7--- ifplugd-0.28.orig/src/interface.c
8+++ ifplugd-0.28/src/interface.c
9@@ -23,7 +23,6 @@
10 #endif
11
12 #include <linux/sockios.h>
13-#include <linux/if_ether.h>
14 #include <sys/types.h>
15 #include <sys/socket.h>
16 #include <sys/ioctl.h>
17@@ -32,6 +31,7 @@
18 #include <string.h>
19 #include <errno.h>
20 #include <netinet/in.h>
21+#include <netinet/if_ether.h>
22 #include <stdio.h>
23 #include <ctype.h>
24 #include <stdlib.h>
25