$OpenBSD: patch-configure,v 1.20 2012/08/09 12:05:16 sthen Exp $
--- configure.orig	Wed Aug  8 20:35:49 2012
+++ configure	Thu Aug  9 01:35:52 2012
@@ -10446,7 +10446,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
@@ -10545,6 +10546,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;
 
