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

From: <hg_AT_suckless.org>
Date: Tue, 14 Aug 2012 11:57:49 +0200 (CEST)

changeset: 99:ffcf7b5eec8f
tag: tip
user: Nico Golde <nion_AT_suckless.org>
date: Tue Aug 14 11:57:30 2012 +0200
files: ii.c
description:
add respective header for select and not implicitely include it


diff -r 6904ea7d4f38 -r ffcf7b5eec8f ii.c
--- a/ii.c Tue Jul 03 17:43:56 2012 +0200
+++ b/ii.c Tue Aug 14 11:57:30 2012 +0200
_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 Tue Aug 14 2012 - 11:57:49 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 14 2012 - 12:00:11 CEST