1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 04:46:17 +00:00

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

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