summaryrefslogtreecommitdiff
path: root/net-p2p/libbt/files/patch-src__peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libbt/files/patch-src__peer.c')
-rw-r--r--net-p2p/libbt/files/patch-src__peer.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-p2p/libbt/files/patch-src__peer.c b/net-p2p/libbt/files/patch-src__peer.c
new file mode 100644
index 000000000000..6c2104deda6c
--- /dev/null
+++ b/net-p2p/libbt/files/patch-src__peer.c
@@ -0,0 +1,14 @@
+--- 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>