aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libfreenet/files/patch-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libfreenet/files/patch-protocol.c')
-rw-r--r--net-p2p/libfreenet/files/patch-protocol.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-p2p/libfreenet/files/patch-protocol.c b/net-p2p/libfreenet/files/patch-protocol.c
index 59fed2289318..66628daab52d 100644
--- a/net-p2p/libfreenet/files/patch-protocol.c
+++ b/net-p2p/libfreenet/files/patch-protocol.c
@@ -1,15 +1,18 @@
---- protocol.c.orig Thu Mar 22 13:27:34 2001
-+++ protocol.c Sat Mar 31 15:14:32 2001
-@@ -17,6 +17,8 @@
+--- protocol.c.orig Wed Jun 13 19:03:11 2001
++++ protocol.c Sun Dec 30 14:37:45 2001
+@@ -16,7 +16,11 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <stdio.h>
++#ifdef HAVE_MALLOC_H
#include <malloc.h>
++#endif
+#include <sys/types.h>
+#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
-@@ -24,7 +26,6 @@
+@@ -24,7 +28,6 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>