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.c17
1 files changed, 17 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..207e4fde9d7e
--- /dev/null
+++ b/net-p2p/libbt/files/patch-src::peer.c
@@ -0,0 +1,17 @@
+--- src/peer.c.old Thu Feb 26 17:34:55 2004
++++ src/peer.c Thu Feb 26 17:35:21 2004
+@@ -1,5 +1,6 @@
+ #include "config.h"
+
++#include <sys/types.h>
+ #if WIN32
+ // #include <winsock2.h>
+ #else
+@@ -13,7 +14,6 @@
+ #include <fcntl.h>
+ #endif
+ #endif
+-#include <sys/types.h>
+ #include <string.h>
+ #include <errno.h>
+ #include <time.h>