git clone https://orangeshoelaces.net/git/ii.git
Author: Nico Golde on 08/14/2012
Committer: Nico Golde on 08/14/2012
add respective header for select and not implicitely include it
ii.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ii.c b/ii.c
index 531c2ee..d93266c 100644
--- 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>