The new socket tests need in some platforms
Jarkko Hietaniemi [Mon, 23 Nov 1998 10:44:26 +0000 (10:44 +0000)]
to #include <sys/types.h>.

p4raw-id: //depot/cfgperl@2294

Configure

index 10b5331..3f3d24b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -6847,6 +6847,7 @@ echo "Checking the availability of certain socket constants..." >& 4
 for ENUM in MSG_CTRUNC MSG_DONTROUTE MSG_OOB MSG_PEEK MSG_PROXY SCM_RIGHTS; do
        enum=`$echo $ENUM|./tr '[A-Z]' '[a-z]'`
        $cat >try.c <<EOF
+#include <sys/types.h>
 #include <sys/socket.h>
 int main() {
     int i = $ENUM;