summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85dadc3)
raw | patch | inline | side by side (parent: 85dadc3)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Tue, 13 Nov 2007 20:05:01 +0000 (21:05 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Nov 2007 23:18:39 +0000 (15:18 -0800) |
... 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>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h | patch | blob | history | |
help.c | patch | blob | history | |
pager.c | patch | blob | history |
diff --git a/git-compat-util.h b/git-compat-util.h
index ede9408bbd14880b3534110586562c2e6df8b07b..e83195bde5ce202bd20b1d1a5dc95fa3f54ed6a1 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#include <fnmatch.h>
#include <sys/poll.h>
#include <sys/socket.h>
+#include <sys/ioctl.h>
+#include <sys/select.h>
#include <assert.h>
#include <regex.h>
#include <netinet/in.h>
index 8217d97787b2ba38a5327c1204797044b2b4cd72..d340b6a1b6c4ecb8132e81fe306883aa18feb090 100644 (file)
--- a/help.c
+++ b/help.c
#include "builtin.h"
#include "exec_cmd.h"
#include "common-cmds.h"
-#include <sys/ioctl.h>
/* most GUI terminals set COLUMNS (although some don't export it) */
static int term_columns(void)