Commit aff1d5bd authored by Evgeniy Fominov's avatar Evgeniy Fominov Committed by Davis E. King

Fixed warning about winsock2.h in windows build (#236)

parent 4eb84487
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#ifdef WIN32 #ifdef WIN32
#include <winsock2.h>
#ifndef _WINSOCKAPI_ #ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
#endif #endif
...@@ -15,7 +17,6 @@ ...@@ -15,7 +17,6 @@
#include "sockets_kernel_1.h" #include "sockets_kernel_1.h"
#include <windows.h> #include <windows.h>
#include <winsock2.h>
#ifndef NI_MAXHOST #ifndef NI_MAXHOST
#define NI_MAXHOST 1025 #define NI_MAXHOST 1025
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment