io.c: Include conn.h when using the select() API

This commit is contained in:
Alexander Barton 2010-07-12 13:24:45 +02:00
parent 03457135b7
commit 37ee0a3313
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ static bool io_event_change_devpoll(int fd, short what);
#ifdef IO_USE_SELECT #ifdef IO_USE_SELECT
#include "defines.h" /* for conn.h */ #include "defines.h" /* for conn.h */
#include "proc.h" /* for PROC_STAT (needed by conf.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 */ #include "conf.h" /* for Conf_MaxConnections */
static fd_set readers; static fd_set readers;