mirror of
https://github.com/curl/curl.git
synced 2026-07-24 11:37:21 +03:00
- 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:
parent
a218235964
commit
b89789d82f
3 changed files with 12 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue