Build fix for mysql 5.6 and older

This commit is contained in:
Shauren
2017-05-13 21:02:37 +02:00
parent 2e8b4dc034
commit ae5696ef2b
7 changed files with 21 additions and 0 deletions

View File

@@ -20,6 +20,9 @@
#include "MySQLConnection.h"
#include "QueryResult.h"
#include "Log.h"
#ifdef _WIN32 // hack for broken mysql.h not including the correct winsock header for SOCKET definition, fixed in 5.7
#include <winsock2.h>
#endif
#include <mysql.h>
#include <sstream>