mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:23:34 +03:00
Reversed the logic to only include the <sys/select.h> header on systems
known to really NEED it as another system that doesn't have it came up: very old Linux libc5-based systems (as addition to all HPUX versions). The only known system at this point is AIX.
This commit is contained in:
parent
45ca866a2d
commit
c32390d84c
1 changed files with 6 additions and 2 deletions
|
|
@ -54,10 +54,14 @@
|
|||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#ifndef __hpux
|
||||
/* HP-UX systems version 9, 10 and 11 lack this header */
|
||||
|
||||
#ifdef _AIX
|
||||
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
|
||||
libc5-based Linux systems. Only include it on system that are known to
|
||||
require it! */
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue