freebsd-ports/net/libbt/files/patch-src::peer.c
Yen-Ming Lee 12c05f36a2 - add patch based on OS versions.
- add USE_GCC=3.3 and unbreak this port on 4.x
- backout arch-related settings in previous commit.

Noticed by:	kris
Reviewed by:	Florent Thoumie <flz@xbsd.org>
Approved by:	Florent Thoumie <flz@xbsd.org>
2004-04-19 16:57:19 +00:00

14 lines
306 B
C

--- src/peer.c Wed Apr 7 06:14:44 2004
+++ src/peer.c.new Tue Apr 13 19:29:01 2004
@@ -20,6 +20,11 @@
# endif
#endif
#include <sys/types.h>
+#if __FreeBSD__ >= 5
+#include <sys/limits.h>
+#else
+#include <machine/limits.h>
+#endif
#include <string.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>