$OpenBSD: patch-configure,v 1.18 2012/01/12 11:39:36 sthen Exp $
--- configure.orig	Tue Jan  3 13:36:06 2012
+++ configure	Wed Jan 11 15:30:24 2012
@@ -9396,7 +9396,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
@@ -9495,6 +9496,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;
 
