From c32390d84c08f2c8e2975994e64babdaacb34de4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 5 Jun 2003 14:04:44 +0000 Subject: [PATCH] Reversed the logic to only include the 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. --- include/curl/multi.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/curl/multi.h b/include/curl/multi.h index 4d7e0d900..c5a74815b 100644 --- a/include/curl/multi.h +++ b/include/curl/multi.h @@ -54,10 +54,14 @@ #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) #include #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 #endif + #include #include #include