Index: src/ngircd/io.c
===================================================================
RCS file: /srv/cvs/ngircd/ngircd/src/ngircd/io.c,v
retrieving revision 1.11
diff -u -p -r1.11 io.c
--- src/ngircd/io.c	4 Sep 2005 13:38:59 -0000	1.11
+++ src/ngircd/io.c	1 May 2006 16:00:29 -0000
@@ -98,7 +98,9 @@ io_event_get(int fd)
 bool
 io_library_init(unsigned int eventsize)
 {
+#if defined(IO_USE_EPOLL) || defined(IO_USE_KQUEUE)
 	bool ret;
+#endif
 #ifdef IO_USE_EPOLL
 	int ecreate_hint = (int)eventsize;
 	if (ecreate_hint <= 0)
