repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 37ee0a331394d990e514a1a7b2b52ecb879b9701:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 37ee0a331394d990e514a1a7b2b52ecb879b9701
Author: Alexander Barton 
Date:   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
index e811e81b0b2a2bfa66eac927a2c8af4c60bdc4fb..
index ..cb2b55a9297d9c0285f1be1a5d4db370f0fedb95 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;

-----END OF PAGE-----