--- configure.orig	Fri Nov  7 03:24:18 2003
+++ configure	Fri Jan  2 19:08:31 2004
@@ -6501,6 +6501,7 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #include <$ac_header>
@@ -6760,6 +6761,7 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <sys/types.h>
 #include <sys/socket.h>
 
 int
