Fixed: Compilation with new mysqlclient headers

This commit is contained in:
kervala 2012-05-20 00:05:01 +02:00
parent 4be2469c8b
commit 78bc0fb0d7
2 changed files with 7 additions and 2 deletions

View file

@ -29,9 +29,11 @@
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# define NOMINMAX # define NOMINMAX
# include <windows.h> # include <WinSock2.h>
# include <Windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS
#include <my_global.h>
#include <mysql.h> #include <mysql.h>
using namespace NLMISC; using namespace NLMISC;

View file

@ -26,8 +26,11 @@
#include "nel/net/module_common.h" #include "nel/net/module_common.h"
#include "game_share/utils.h" #include "game_share/utils.h"
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# include <windows.h> # include <WinSock2.h>
# include <Windows.h>
#endif #endif
#include <my_global.h>
#include <mysql.h> #include <mysql.h>
#include <time.h> #include <time.h>