summaryrefslogtreecommitdiff
path: root/net/libfreenet/files/patch-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/libfreenet/files/patch-protocol.c')
-rw-r--r--net/libfreenet/files/patch-protocol.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/libfreenet/files/patch-protocol.c b/net/libfreenet/files/patch-protocol.c
new file mode 100644
index 000000000000..59fed2289318
--- /dev/null
+++ b/net/libfreenet/files/patch-protocol.c
@@ -0,0 +1,19 @@
+--- protocol.c.orig Thu Mar 22 13:27:34 2001
++++ protocol.c Sat Mar 31 15:14:32 2001
+@@ -17,6 +17,8 @@
+ */
+ #include <stdio.h>
+ #include <malloc.h>
++#include <sys/types.h>
++#include <netinet/in.h>
+ #include <sys/socket.h>
+ #include <netdb.h>
+ #include <string.h>
+@@ -24,7 +26,6 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+-#include <sys/types.h>
+ #include <ctype.h>
+ #include <time.h>
+