summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar snowdrop2006-02-04 01:25:13 +0000
committerGravatar snowdrop2006-02-04 01:25:13 +0000
commit34e86f91c56bd4368d1b415ffac3eb05b817808e (patch)
tree2484711362d1ab6c88def3693b63801a18eed433
parent7d850ebcc41b26d332084b707f76fe8181728fa3 (diff)
downloadcsoap-34e86f91c56bd4368d1b415ffac3eb05b817808e.tar.gz
csoap-34e86f91c56bd4368d1b415ffac3eb05b817808e.tar.bz2
Added include file netinet/in.h to be able to compile under FreeBSD
-rw-r--r--nanohttp/nanohttp-socket.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-socket.c b/nanohttp/nanohttp-socket.c
index 9979974..0c2c5ae 100644
--- a/nanohttp/nanohttp-socket.c
+++ b/nanohttp/nanohttp-socket.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-socket.c,v 1.45 2006/01/31 18:33:05 mrcsys Exp $
+* $Id: nanohttp-socket.c,v 1.46 2006/02/04 01:25:13 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -50,6 +50,10 @@ typedef int ssize_t;
#include <sys/socket.h>
#endif
+#ifndef WIN32
+#include <netinet/in.h>
+#endif
+
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif