$OpenBSD: patch-configure,v 1.19 2012/06/08 21:07:02 sthen Exp $
--- configure.orig	Thu May 31 11:38:06 2012
+++ configure	Fri Jun  8 01:38:28 2012
@@ -9407,7 +9407,8 @@ if test -z "${nut_have_libwrap_seen}"; then
 
 	for ac_header in tcpd.h
 do :
-  ac_fn_c_check_header_compile "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default
+  ac_fn_c_check_header_compile "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "#include <sys/types.h>
+$ac_includes_default
 "
 if test "x$ac_cv_header_tcpd_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
@@ -9506,6 +9507,7 @@ else
 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #include <tcpd.h>
 int allow_severity = 0, deny_severity = 0;
 
