commit 7a99152ce64d7006730006094b333edbecbe505a
parent aed65ee703fcc9b0e0a4c2ff61ee8789fb88009c
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:
1 file changed, 3 insertions(+), 2 deletions(-)
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>