diff options
-rw-r--r-- | src/estream.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/estream.c b/src/estream.c index f75e052..36be4bb 100644 --- a/src/estream.c +++ b/src/estream.c @@ -67,9 +67,6 @@ # endif #endif -#ifdef HAVE_SYS_SELECT_H -# include <sys/select.h> -#endif #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif @@ -92,6 +89,10 @@ #else # ifdef HAVE_POLL_H # include <poll.h> +# else +# ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +# endif # endif #endif |