summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp')
-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