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 @@
#ifdef WIN32
#include <winsock2.h>
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
#endif
......@@ -15,7 +17,6 @@
#include "sockets_kernel_1.h"
#include <windows.h>
#include <winsock2.h>
#ifndef NI_MAXHOST
#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