]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/io.c
Update #include's: remove unused and add missing ones
[ngircd.git] / src / ngircd / io.c
index dab3043983364e6997effff4055eab9c8a1400a9..b2127f255af0faf135b07ba40f5113f60f17d266 100644 (file)
  */
 
 #include <assert.h>
-#include <stdlib.h>
 #include <string.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <sys/stat.h>
 #include <fcntl.h>
 
 #include "array.h"
@@ -119,6 +118,7 @@ static bool io_event_change_devpoll(int fd, short what);
 #endif
 
 #ifdef IO_USE_SELECT
+#include <sys/time.h>
 #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) */