diff options
-rw-r--r-- | Modules/selectmodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 31ac9b0..c6e4b86 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -21,8 +21,10 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif -#ifdef HAVE_POLL_H +#if defined(HAVE_POLL_H) #include <poll.h> +#elif defined(HAVE_SYS_POLL_H) +#include <sys/poll.h> #endif #ifdef __sgi |