aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/socket.h')
-rw-r--r--wsutil/socket.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/wsutil/socket.h b/wsutil/socket.h
index 372cd2f793..4c5a9fe95c 100644
--- a/wsutil/socket.h
+++ b/wsutil/socket.h
@@ -25,16 +25,9 @@
#define __SOCKET_H__
#if defined(_WIN32) && !defined(__CYGWIN__)
- #ifdef HAVE_WINDOWS_H
- #include <windows.h>
- #endif
-
+ #include <windows.h>
#include <ws2tcpip.h>
-
- #ifdef HAVE_WINSOCK2_H
- #include <winsock2.h>
- #endif
-
+ #include <winsock2.h>
#include <process.h>
#define socket_handle_t SOCKET