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

16 lines
427 B
C

--- testserver.c.orig Wed Jun 13 19:05:19 2001
+++ testserver.c Sun Dec 30 14:36:07 2001
@@ -15,10 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
+#include <netinet/in.h>
#include <sys/socket.h>