aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpillust/files/patch-binread.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpillust/files/patch-binread.c')
-rw-r--r--net/tcpillust/files/patch-binread.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/tcpillust/files/patch-binread.c b/net/tcpillust/files/patch-binread.c
new file mode 100644
index 000000000000..d9040998905b
--- /dev/null
+++ b/net/tcpillust/files/patch-binread.c
@@ -0,0 +1,16 @@
+--- binread.c.orig 2009-06-18 16:05:29.000000000 +0200
++++ binread.c 2009-06-18 16:06:26.000000000 +0200
+@@ -35,8 +35,13 @@
+ #if defined (linux) || defined(__APPLE__)
+ #define __FAVOR_BSD
+ #else
++#if defined(__FreeBSD__)
++#include <osreldate.h>
++#if __FreeBSD_version < 800064
+ #include <net/slip.h>
+ #endif
++#endif
++#endif
+ #include <netinet/in.h>
+ #include <netinet/in_systm.h>
+ #include <net/if.h>