summaryrefslogtreecommitdiff
path: root/libpqpp/pq-error.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
commit465ea24362ee267cf83909efa0b5cdee689ff1f7 (patch)
treed51980f0d0ca1460c320704aea50030043692e7e /libpqpp/pq-error.cpp
parentPass cppcheck and clang-tidy (diff)
downloadlibdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.tar.bz2
libdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.tar.xz
libdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.zip
First commit passing IWYU
Diffstat (limited to 'libpqpp/pq-error.cpp')
-rw-r--r--libpqpp/pq-error.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/pq-error.cpp b/libpqpp/pq-error.cpp
index ca33a26..17b4e0a 100644
--- a/libpqpp/pq-error.cpp
+++ b/libpqpp/pq-error.cpp
@@ -1,4 +1,5 @@
#include "pq-error.h"
+#include <libpq-fe.h>
PQ::Error::Error(const PGconn * conn) : msg(PQerrorMessage(conn)) { }