--- libpqxx-2.6.9.orig/src/binarystring.cxx
+++ libpqxx-2.6.9/src/binarystring.cxx
@@ -16,6 +16,7 @@
  */
 #include "pqxx/compiler-internal.hxx"
 
+#include <cstring>
 #include <new>
 #include <stdexcept>
 
