Fixed: Compilation with new mysqlclient headers

This commit is contained in:
kervala 2012-05-20 00:05:01 +02:00
parent 0a5ffe6b03
commit 8d85a2f727
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>