X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fio.c;h=f44dfbf54d9f945d6f840845ae3f0cb091744845;hp=d13a5e25b0b2dec413198e7feb494ca0cd2e14aa;hb=56b7e67307c1be110eaa4e84681bca03df21bd69;hpb=596bc096b02ef94efe3d73bb747c6ab0368f63bf diff --git a/src/ngircd/io.c b/src/ngircd/io.c index d13a5e25..f44dfbf5 100644 --- a/src/ngircd/io.c +++ b/src/ngircd/io.c @@ -5,14 +5,15 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * I/O abstraction interface. * Copyright (c) 2005 Florian Westphal (westphal@foo.fh-furtwangen.de) - * */ #include "portab.h" -static char UNUSED id[] = "$Id: io.c,v 1.31 2008/04/03 20:56:44 fw Exp $"; +/** + * @file + * I/O abstraction interface. + */ #include #include @@ -53,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