1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/tcpillust/files/patch-binread.c
Martin Wilke 33ac7e8342 - Update to 2.01
PR:		135707
Submitted by:	Florian Smeets <flo@kasimir.com>
Approved by:	maintainer timeout
2009-07-07 20:25:03 +00:00

17 lines
401 B
C

--- 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>