mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 18:00:28 +00:00
Only use poll() when poll.h exists as well
This commit is contained in:
parent
9d348d00d9
commit
8e193df973
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user