Only use poll() when poll.h exists as well

This commit is contained in:
Alexander Barton 2011-11-25 22:06:44 +01:00
parent 9d348d00d9
commit 8e193df973
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ typedef struct {
# ifdef HAVE_SYS_DEVPOLL_H
# define IO_USE_DEVPOLL 1
# else
# ifdef HAVE_POLL
# if defined(HAVE_POLL) && defined(HAVE_POLL_H)
# define IO_USE_POLL 1
# else
# ifdef HAVE_SELECT