From: Daniel Stenberg Date: Fri, 17 May 2002 07:57:13 +0000 (+0000) Subject: FreeBSD needs sys/types.h before we include sys/select.h that was included X-Git-Tag: curl-7_9_8~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=baa77ec13bde1625213aa41fbc98001db08df5b7;p=curl FreeBSD needs sys/types.h before we include sys/select.h that was included mainly for AIX in the first place...! As reported in bug report #556869 --- diff --git a/src/writeout.c b/src/writeout.c index 343e96ffc..bf7393799 100644 --- a/src/writeout.c +++ b/src/writeout.c @@ -26,6 +26,9 @@ #include #include +#ifdef HAVE_SYS_TYPES_H +#include +#endif #ifdef HAVE_SYS_SELECT_H #include #endif