mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
curl.h: include <sys/select.h> on SunOS
It is needed for fd_set to be visible to downstream consumers that use <curl/multi.h>. Header is known to exist at least as far back as Solaris 2.6. Closes #9329
This commit is contained in:
parent
2ef3a001f5
commit
e761a1d1d9
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@
|
|||
defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \
|
||||
defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \
|
||||
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \
|
||||
(defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000))
|
||||
(defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) || \
|
||||
defined(__sun__)
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue