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.hpp | |
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.hpp')
-rw-r--r-- | src/select.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.hpp b/src/select.hpp index c88dd71..17ebd3f 100644 --- a/src/select.hpp +++ b/src/select.hpp @@ -27,7 +27,7 @@ #include <vector> #ifdef ZMQ_HAVE_WINDOWS -#include "winsock2.h" +#include <winsock2.h> #elif defined ZMQ_HAVE_OPENVMS #include <sys/types.h> #include <sys/time.h> |