From c54897bd4f0e4f834a17f4e1ad088e79aaf10e1b Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 9 Nov 2019 20:05:22 +0800 Subject: [PATCH] Fix build with MariaDB connector --- code/nelns/admin_service/admin_service.cpp | 2 ++ code/nelns/login_service/mysql_helper.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/nelns/admin_service/admin_service.cpp b/code/nelns/admin_service/admin_service.cpp index 6d75b6aac..6b964f562 100644 --- a/code/nelns/admin_service/admin_service.cpp +++ b/code/nelns/admin_service/admin_service.cpp @@ -38,7 +38,9 @@ typedef unsigned long ulong; #endif #include +#ifndef LIBMARIADB #include +#endif #include "nel/misc/debug.h" #include "nel/misc/config_file.h" diff --git a/code/nelns/login_service/mysql_helper.cpp b/code/nelns/login_service/mysql_helper.cpp index 5ae04e8b5..e27960770 100644 --- a/code/nelns/login_service/mysql_helper.cpp +++ b/code/nelns/login_service/mysql_helper.cpp @@ -20,7 +20,9 @@ #include "mysql_helper.h" -#include "mysql_version.h" +#ifndef LIBMARIADB +#include +#endif //