summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-03-19 16:49:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-03-19 17:02:16 +0000
commit354bb1630c5ae72d298a7ce13c1118106bfaf7b0 (patch)
tree2b0c4f7be7c0dc15c33a1938942b2337e8d621d1 /libpqpp
parentUse stringstream string c_str by move (diff)
downloadlibdbpp-postgresql-354bb1630c5ae72d298a7ce13c1118106bfaf7b0.tar.bz2
libdbpp-postgresql-354bb1630c5ae72d298a7ce13c1118106bfaf7b0.tar.xz
libdbpp-postgresql-354bb1630c5ae72d298a7ce13c1118106bfaf7b0.zip
Add missing include
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/pq-cursorselectcommand.cpp2
-rw-r--r--libpqpp/pq-prepared.cpp1
-rw-r--r--libpqpp/unittests/testpq.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/libpqpp/pq-cursorselectcommand.cpp b/libpqpp/pq-cursorselectcommand.cpp
index 5ace13b..96d3dc3 100644
--- a/libpqpp/pq-cursorselectcommand.cpp
+++ b/libpqpp/pq-cursorselectcommand.cpp
@@ -6,6 +6,8 @@
#include <compileTimeFormatter.h>
#include <libpq-fe.h>
#include <memory>
+#include <type_traits>
+#include <utility>
#include <vector>
AdHocFormatter(PQCursorSelectDeclare, "DECLARE %? NO SCROLL CURSOR WITH HOLD FOR ");
diff --git a/libpqpp/pq-prepared.cpp b/libpqpp/pq-prepared.cpp
index 83bfcd5..bf8bd08 100644
--- a/libpqpp/pq-prepared.cpp
+++ b/libpqpp/pq-prepared.cpp
@@ -5,6 +5,7 @@
#include <iosfwd>
#include <libpq-fe.h>
#include <map>
+#include <type_traits>
#include <utility>
#include <vector>
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index 1285d9a..d610e41 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -30,6 +30,7 @@
#include <string>
#include <string_view>
#include <testCore.h>
+#include <tuple>
#include <type_traits>
#include <unistd.h>
#include <utility>