From 37ee0a331394d990e514a1a7b2b52ecb879b9701 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 12 Jul 2010 13:24:45 +0200 Subject: [PATCH] io.c: Include conn.h when using the select() API --- src/ngircd/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ngircd/io.c b/src/ngircd/io.c index e811e81b..cb2b55a9 100644 --- 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;