aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpillust/files/patch-binread.c
blob: d9040998905b1f3a2016d6d3006ca8a7b628b32c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>