summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Common.h')
-rw-r--r--src/uscxml/Common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uscxml/Common.h b/src/uscxml/Common.h
index 5840d97..279306a 100644
--- a/src/uscxml/Common.h
+++ b/src/uscxml/Common.h
@@ -3,6 +3,8 @@
#ifdef _WIN32
#include <winsock2.h>
+// see http://stackoverflow.com/questions/1372480/c-redefinition-header-files
+#define _WINSOCKAPI_ // stops windows.h including winsock.h
#include <windows.h>
#else
#include <sys/socket.h>