diff options
author | Steven McCoy <steven.mccoy@miru.hk> | 2011-06-12 19:37:11 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-12 19:37:11 +0200 |
commit | b164023cca3f29c5eb371a8a0757c98ae4683ae4 (patch) | |
tree | 48637be1f5611a4f98601a159ea26a8857d37014 /src/select.cpp | |
parent | ff93f54653d099bddfed34a342906a3546e70496 (diff) |
Fix scope on Windows includes.
Fix windows.h included before winsock2.h.
Remove definition of _WINSOCKAPI_.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
Diffstat (limited to 'src/select.cpp')
-rw-r--r-- | src/select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.cpp b/src/select.cpp index 35d8bd8..891bde1 100644 --- a/src/select.cpp +++ b/src/select.cpp @@ -24,7 +24,7 @@ #include <algorithm> #ifdef ZMQ_HAVE_WINDOWS -#include "winsock2.h" +#include <winsock2.h> #elif defined ZMQ_HAVE_HPUX #include <sys/param.h> #include <sys/types.h> |