@@ -0,0 +1,52 @@
+--- src/binarystring.cxx
++++ src/binarystring.cxx
+@@ -22,7 +22,7 @@
+ #include "libpq-fe.h"
+
+ #include "pqxx/binarystring"
+-
++#include <cstring>
+
+ using namespace PGSTD;
+ using namespace pqxx::internal;
+--- src/connection_base.cxx
++++ src/connection_base.cxx
+@@ -21,6 +21,7 @@
+ #include <cassert>
+ #include <cerrno>
+ #include <cstdio>
++#include <cstring>
+ #include <ctime>
+ #include <stdexcept>
+
+--- src/cursor.cxx
++++ src/cursor.cxx
+@@ -18,6 +18,7 @@
+ #include "pqxx/compiler-internal.hxx"
+
+ #include <cstdlib>
++#include <cstring>
+
+ #include "pqxx/cursor"
+ #include "pqxx/result"
+--- src/result.cxx
++++ src/result.cxx
+@@ -18,6 +18,8 @@
+ #include "pqxx/compiler-internal.hxx"
+
+ #include <stdexcept>
++#include <cstring>
++#include <cstdlib>
+
+ #include "libpq-fe.h"
+
+--- src/transaction_base.cxx
++++ src/transaction_base.cxx
+@@ -19,6 +19,7 @@
+ #include "pqxx/compiler-internal.hxx"
+
+ #include <stdexcept>
++#include <cstring>
+
+ #include "pqxx/connection_base"
+ #include "pqxx/result"
|