summaryrefslogtreecommitdiff
path: root/package/ifplugd/ifplugd-fix-headers.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:28:12 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:28:12 +0000
commitbfb1e1e9f1d942b27a11e5825e0bbe3ca01614fe (patch)
tree79751e55dfb62dd5910afb3dac8dc3f1413d647e /package/ifplugd/ifplugd-fix-headers.patch
parentbabe5b0486e414a3c4d999cabc04f0b78f03303e (diff)
package: ifplugd package
Diffstat (limited to 'package/ifplugd/ifplugd-fix-headers.patch')
-rw-r--r--package/ifplugd/ifplugd-fix-headers.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/ifplugd/ifplugd-fix-headers.patch b/package/ifplugd/ifplugd-fix-headers.patch
new file mode 100644
index 000000000..06372a26a
--- /dev/null
+++ b/package/ifplugd/ifplugd-fix-headers.patch
@@ -0,0 +1,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>