Move winsock include to before boost includes.

This commit is contained in:
JoelKatz
2013-03-29 14:16:19 -07:00
parent f88d6804a3
commit 32c133fe26

View File

@@ -4,11 +4,17 @@
#include <sys/prctl.h>
#include <sys/wait.h>
#endif
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/wait.h>
#endif
#ifdef WIN32
#define _WINSOCK_
#include <winsock2.h>
#endif
#include <fstream>
#include <boost/algorithm/string.hpp>
@@ -307,8 +313,6 @@ int strIPtoInt(std::string& ipStr)
}
*/
#ifdef WIN32
#define _WINSOCK_
#include <winsock2.h>
//#include "Winsock2.h"
//#include <windows.h>