commit 8e193df973bef0765754ccf4d6cb3ea21c226955 from: Alexander Barton date: Fri Nov 25 21:06:44 2011 UTC Only use poll() when poll.h exists as well commit - 9d348d00d9eda2aede0ea9052bcc34cd070d3b5a commit + 8e193df973bef0765754ccf4d6cb3ea21c226955 blob - 7e78e49f8dd70aefa557f0bb38c98f90921894c8 blob + f44dfbf54d9f945d6f840845ae3f0cb091744845 --- src/ngircd/io.c +++ src/ngircd/io.c @@ -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