@matheusbsbs / matheus-bagliano / commits / 80bbe72b76
Fork 0

Move #include <sys/select.h> and <sys/ioctl.h> to git-compat-util.h.

... since all system headers are pulled in via git-compat-util.h Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Sixt committed Nov 13, 2007 at 21:05 UTC 80bbe72b76ab91628b493b55ed74f6eec8432fed
3 files changed +2 -3
git-compat-util.h
+2
@@ -52,6 +52,8 @@
52 #include <fnmatch.h>
53 #include <sys/poll.h>
54 #include <sys/socket.h>
55 +#include <sys/ioctl.h>
56 +#include <sys/select.h>
57 #include <assert.h>
58 #include <regex.h>
59 #include <netinet/in.h>
help.c
-1
@@ -7,7 +7,6 @@
7 #include "builtin.h"
8 #include "exec_cmd.h"
9 #include "common-cmds.h"
10 -#include <sys/ioctl.h>
10
11 /* most GUI terminals set COLUMNS (although some don't export it) */
12 static int term_columns(void)
pager.c
-2
@@ -1,7 +1,5 @@
1 #include "cache.h"
2
3 -#include <sys/select.h>
4 -
3 /*
4 * This is split up from the rest of git so that we might do
5 * something different on Windows, for example.