$NetBSD: patch-ab,v 1.1 2006/01/02 17:20:18 joerg Exp $

--- src/connection_base.cxx.orig	2005-06-28 08:53:14.000000000 +0000
+++ src/connection_base.cxx
@@ -19,8 +19,10 @@
 
 #include <algorithm>
 #include <cstdio>
+#include <cstring>
 #include <ctime>
 #include <stdexcept>
+#include <sys/time.h>
 
 #ifdef PQXX_HAVE_SYS_SELECT_H
 #include <sys/select.h>
