summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@mips.inka.de>2013-12-04 16:45:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-12-06 13:28:27 +0100
commit92e607abfaa5102bb7384b416547503e426e4435 (patch)
treebc73af6855e8a96d97e0319a07328d4fea96ac63 /include
parentef118c13ba11a1dc2123270bad95351dd25743c1 (diff)
downloadcurl-92e607abfaa5102bb7384b416547503e426e4435.tar.gz
curl.h: <sys/select.h> for OpenBSD
curl.h should also include <sys/select.h> on OpenBSD to reliably pull in select(). Typically, including <sys/time.h> will be enough, but not if strict standards-compliance is requested (e.g. by defining _XOPEN_SOURCE).
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 5c63dd894..9bee934a1 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -69,7 +69,7 @@
require it! */
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
- defined(ANDROID) || defined(__ANDROID__) || \
+ defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000))
#include <sys/select.h>
#endif