summaryrefslogtreecommitdiff
path: root/libpqpp/pq-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-error.h')
-rw-r--r--libpqpp/pq-error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-error.h b/libpqpp/pq-error.h
index 9c14e2d..bc701fa 100644
--- a/libpqpp/pq-error.h
+++ b/libpqpp/pq-error.h
@@ -1,9 +1,11 @@
#ifndef PQ_ERROR_H
#define PQ_ERROR_H
-#include <error.h>
+#include "error.h" // IWYU pragma: export
#include <exception.h>
#include <libpq-fe.h>
+#include <string>
+// IWYU pragma: no_forward_declare DB::Error
namespace PQ {
class Error : public AdHoc::Exception<DB::Error> {