add respective header for select and not implicitely include it - ii - irc it, simple FIFO based irc client
HTML git clone git://git.suckless.org/ii
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7a99152ce64d7006730006094b333edbecbe505a
DIR parent aed65ee703fcc9b0e0a4c2ff61ee8789fb88009c
HTML Author: Nico Golde <nion@suckless.org>
Date: Tue, 14 Aug 2012 11:57:30 +0200
add respective header for select and not implicitely include it
Diffstat:
M ii.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
DIR diff --git a/ii.c b/ii.c
@@ -4,6 +4,9 @@
#include <errno.h>
#include <netdb.h>
#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/socket.h>
+#include <sys/select.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
@@ -12,8 +15,6 @@
#include <string.h>
#include <pwd.h>
#include <signal.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
#include <ctype.h>
#include <time.h>
#include <unistd.h>