]> granicus.if.org Git - curl/commitdiff
FreeBSD needs sys/types.h before we include sys/select.h that was included
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 May 2002 07:57:13 +0000 (07:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 May 2002 07:57:13 +0000 (07:57 +0000)
mainly for AIX in the first place...! As reported in bug report #556869

src/writeout.c

index 343e96ffcb0b82629ac4565808346b8880f9fefa..bf7393799ad3fb5be6004028c439692968dd4477 100644 (file)
@@ -26,6 +26,9 @@
 #include <stdio.h>
 #include <string.h>
 
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif