X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fio.c;h=f44dfbf54d9f945d6f840845ae3f0cb091744845;hb=f2fa1045e24f81e5c844dd50d6e299cb1ad9acb2;hp=fb39ecdd99f0b07cb96c6afd61ef05a40468eaa3;hpb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;p=ngircd-alex.git diff --git a/src/ngircd/io.c b/src/ngircd/io.c index fb39ecdd..f44dfbf5 100644 --- a/src/ngircd/io.c +++ b/src/ngircd/io.c @@ -6,7 +6,6 @@ * Please read the file COPYING, README and AUTHORS for more information. * * Copyright (c) 2005 Florian Westphal (westphal@foo.fh-furtwangen.de) - * */ #include "portab.h" @@ -55,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