summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-socket.h')
-rw-r--r--nanohttp/nanohttp-socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-socket.h b/nanohttp/nanohttp-socket.h
index c4f2188..e98f719 100644
--- a/nanohttp/nanohttp-socket.h
+++ b/nanohttp/nanohttp-socket.h
@@ -24,6 +24,10 @@
#ifndef __nanohttp_socket_h
#define __nanohttp_socket_h
+#ifdef WIN32
+#include <winsock2.h>
+#endif
+
/** @file nanohttp-socket.h Socket wrapper
*
* @defgroup NANOHTTP_SOCKET Socket wrapper