From 42bd3cc79bf9d40079e5a124432a02dc221b0745 Mon Sep 17 00:00:00 2001 From: Moritz Wirger Date: Fri, 9 Dec 2022 15:45:37 +0100 Subject: [PATCH] Fix include for iso646 missing for MSVC --- include/sqlpp11/mysql/bind_result.h | 4 ++++ include/sqlpp11/postgresql/bind_result.h | 1 + include/sqlpp11/sqlite3/bind_result.h | 1 + 3 files changed, 6 insertions(+) diff --git a/include/sqlpp11/mysql/bind_result.h b/include/sqlpp11/mysql/bind_result.h index 367568ae..473a0f80 100644 --- a/include/sqlpp11/mysql/bind_result.h +++ b/include/sqlpp11/mysql/bind_result.h @@ -34,6 +34,10 @@ #include #include +#ifdef _MSC_VER +#include +#endif + namespace sqlpp { namespace mysql diff --git a/include/sqlpp11/postgresql/bind_result.h b/include/sqlpp11/postgresql/bind_result.h index ba13be47..2157a477 100644 --- a/include/sqlpp11/postgresql/bind_result.h +++ b/include/sqlpp11/postgresql/bind_result.h @@ -39,6 +39,7 @@ #include "detail/prepared_statement_handle.h" #ifdef _MSC_VER +#include #pragma warning(disable : 4800) // int to bool #endif namespace sqlpp diff --git a/include/sqlpp11/sqlite3/bind_result.h b/include/sqlpp11/sqlite3/bind_result.h index 68458858..614b68cc 100644 --- a/include/sqlpp11/sqlite3/bind_result.h +++ b/include/sqlpp11/sqlite3/bind_result.h @@ -35,6 +35,7 @@ #include #ifdef _MSC_VER +#include #pragma warning(push) #pragma warning(disable : 4251) #endif