freebsd-ports/net-p2p/libfreenet/files/patch-protocol.c
Ying-Chieh Liao 0299586db8 upgrade to 0.5.0
PR:		33341
Submitted by:	Ports Fury
2001-12-30 15:44:17 +00:00

22 lines
519 B
C

--- 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 +28,6 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-#include <sys/types.h>
#include <ctype.h>
#include <time.h>