- Renato Botelho and Peter Pentchev brought a patch that makes the libcurl

headers work correctly even on FreeBSD systems before v8.
This commit is contained in:
Daniel Stenberg 2009-12-25 23:32:01 +00:00
parent a218235964
commit b89789d82f
3 changed files with 12 additions and 2 deletions

View file

@ -47,6 +47,11 @@
#include <stdio.h>
#include <limits.h>
#if defined(__FreeBSD__)
/* Needed to check FreeBSD version */
#include <osreldate.h>
#endif
/* The include stuff here below is mainly for time_t! */
#include <sys/types.h>
#include <time.h>
@ -66,7 +71,7 @@
require it! */
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
defined(ANDROID)
defined(ANDROID) || (defined(__FreeBSD__) && __FreeBSD_version < 800000)
#include <sys/select.h>
#endif