[hackers] [ii] add respective header for select and not implicitely include it || Nico Golde

From: <git_AT_suckless.org>
Date: Sat, 05 Jan 2013 14:27:54 +0100

commit 7a99152ce64d7006730006094b333edbecbe505a
Author: Nico Golde <nion_AT_suckless.org>
Date: Tue Aug 14 11:57:30 2012 +0200

    add respective header for select and not implicitely include it

diff --git a/ii.c b/ii.c
index 531c2ee..d93266c 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -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>
_AT_@ -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>
Received on Sat Jan 05 2013 - 14:27:54 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 05 2013 - 14:36:08 CET