repo: ngircd action: commit revision: path_from: revision_from: 37ee0a331394d990e514a1a7b2b52ecb879b9701: path_to: revision_to:
commit 37ee0a331394d990e514a1a7b2b52ecb879b9701 Author: Alexander BartonDate: Mon Jul 12 13:24:45 2010 +0200 io.c: Include conn.h when using the select() API diff --git a/src/ngircd/io.c b/src/ngircd/io.c
--- a/src/ngircd/io.c +++ b/src/ngircd/io.c @@ -105,6 +105,7 @@ static bool io_event_change_devpoll(int fd, short what); #ifdef IO_USE_SELECT #include "defines.h" /* for conn.h */ #include "proc.h" /* for PROC_STAT (needed by conf.h) */ +#include "conn.h" /* for CONN_ID (needed by conf.h) */ #include "conf.h" /* for Conf_MaxConnections */ static fd_set readers;
-----END OF PAGE-----