1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00

should actually build now... hopefully...

This commit is contained in:
NotAdam 2019-10-14 19:12:17 +11:00
parent d1969452b1
commit 99604a589c
5 changed files with 13 additions and 2 deletions

View file

@ -4,6 +4,10 @@
#include "PreparedStatement.h" #include "PreparedStatement.h"
#include <mysql.h> #include <mysql.h>
#ifdef _MSC_VER
// fixes compile error when compiling with vs2019
#include <stdexcept>
#endif
#include <vector> #include <vector>
Mysql::Connection::Connection( std::shared_ptr< MySqlBase > pBase, Mysql::Connection::Connection( std::shared_ptr< MySqlBase > pBase,

View file

@ -3,6 +3,8 @@
#include <memory> #include <memory>
#include <map> #include <map>
#include <string>
#include "MysqlCommon.h" #include "MysqlCommon.h"
typedef struct st_mysql MYSQL; typedef struct st_mysql MYSQL;

View file

@ -2,8 +2,9 @@
#define _PLAYERMINIMAL_H #define _PLAYERMINIMAL_H
#include <map> #include <map>
#include <stdint.h> #include <cstdint>
#include <string.h> #include <string>
#include <cstring>
namespace Sapphire::Api namespace Sapphire::Api
{ {

View file

@ -1,6 +1,8 @@
#ifndef SAPPHIRE_DBCOMMON_H #ifndef SAPPHIRE_DBCOMMON_H
#define SAPPHIRE_DBCOMMON_H #define SAPPHIRE_DBCOMMON_H
#include <string>
namespace Sapphire::Db namespace Sapphire::Db
{ {
struct ConnectionInfo struct ConnectionInfo

View file

@ -3,6 +3,8 @@
#include <Common.h> #include <Common.h>
#include <set> #include <set>
#include <string>
namespace Sapphire namespace Sapphire
{ {