From 80bbe72b76ab91628b493b55ed74f6eec8432fed Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 13 Nov 2007 21:05:01 +0100 Subject: [PATCH] Move #include and to git-compat-util.h. ... since all system headers are pulled in via git-compat-util.h Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- git-compat-util.h | 2 ++ help.c | 1 - pager.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/git-compat-util.h b/git-compat-util.h index ede9408bb..e83195bde 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -52,6 +52,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/help.c b/help.c index 8217d9778..d340b6a1b 100644 --- a/help.c +++ b/help.c @@ -7,7 +7,6 @@ #include "builtin.h" #include "exec_cmd.h" #include "common-cmds.h" -#include /* most GUI terminals set COLUMNS (although some don't export it) */ static int term_columns(void) diff --git a/pager.c b/pager.c index 8bac9d990..fb7a1a625 100644 --- a/pager.c +++ b/pager.c @@ -1,7 +1,5 @@ #include "cache.h" -#include - /* * This is split up from the rest of git so that we might do * something different on Windows, for example. -- 2.30.2