aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mapping/traits-mysql.hxx3
-rw-r--r--mapping/traits-sqlite.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/mapping/traits-mysql.hxx b/mapping/traits-mysql.hxx
index ff5d106..893571e 100644
--- a/mapping/traits-mysql.hxx
+++ b/mapping/traits-mysql.hxx
@@ -9,7 +9,8 @@
// MySQL implementation.
//
-#include <cstring>
+#include <cstddef> // std::size_t
+#include <cstring> // std::strncmp, std::memcpy
#include <odb/mysql/traits.hxx>
diff --git a/mapping/traits-sqlite.hxx b/mapping/traits-sqlite.hxx
index 38a8535..5aaba87 100644
--- a/mapping/traits-sqlite.hxx
+++ b/mapping/traits-sqlite.hxx
@@ -9,7 +9,8 @@
// SQLite implementation.
//
-#include <cstring>
+#include <cstddef> // std::size_t
+#include <cstring> // std::strncmp, std::memcpy
#include <sstream>
#include <odb/sqlite/traits.hxx>