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
This commit is contained in:
Daniel Stenberg 2002-05-17 07:57:13 +00:00
parent 9263652c6d
commit baa77ec13b

View File

@ -26,6 +26,9 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> #include <sys/select.h>
#endif #endif