diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-12-25 23:32:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-12-25 23:32:01 +0000 |
commit | b89789d82fdb2df7adc8d00e7574ab0e531c3f7b (patch) | |
tree | 4c9c86cd087331f416bf64b90b72aaf1665c7cf7 /include | |
parent | a2182359646f8f7ee457aec75f45e36f016c3b0f (diff) | |
download | curl-b89789d82fdb2df7adc8d00e7574ab0e531c3f7b.tar.gz |
- Renato Botelho and Peter Pentchev brought a patch that makes the libcurl
headers work correctly even on FreeBSD systems before v8.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index f7c3f52ff..7fc11e340 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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 |