aboutsummaryrefslogtreecommitdiff
path: root/net/wackamole/files/patch-defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wackamole/files/patch-defines.h')
-rw-r--r--net/wackamole/files/patch-defines.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/wackamole/files/patch-defines.h b/net/wackamole/files/patch-defines.h
new file mode 100644
index 000000000000..11846f389a6c
--- /dev/null
+++ b/net/wackamole/files/patch-defines.h
@@ -0,0 +1,28 @@
+--- defines.h.orig 2005-03-30 21:56:58.000000000 +0200
++++ defines.h 2011-05-12 02:51:55.000000000 +0200
+@@ -13,6 +13,9 @@
+ #ifdef HAVE_STRINGS_H
+ #include <strings.h>
+ #endif
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
+ #ifdef HAVE_ERRNO_H
+ #include <errno.h>
+ #endif
+@@ -59,12 +62,12 @@
+ #ifdef HAVE_NET_ROUTE_H
+ #include <net/route.h>
+ #endif
+-#ifdef HAVE_PCAP_H
+-#include <pcap.h>
+-#endif
+ #ifdef HAVE_NET_BPF_H
+ #include <net/bpf.h>
+ #endif
++#ifdef HAVE_PCAP_H
++#include <pcap.h>
++#endif
+ #ifdef HAVE_NET_ETHERNET_H
+ #include <net/ethernet.h>
+ #endif