From: Thomas Glanzmann Date: Sat, 7 May 2005 08:41:41 +0000 (+0200) Subject: [PATCH] Add #include so that git compiles under Solaris X-Git-Tag: v0.99~603^2~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1df57abb90d456b6b600b8cf6a5232a39cd3f5e;p=git.git [PATCH] Add #include so that git compiles under Solaris Editorial Note. We may want to include standard headers in one of those headers everybody includes, e.g. cache.h, to reduce clutters, but this commit is as Thomas posted to the GIT list. Date: Sat, 7 May 2005 10:41:41 +0200 Signed-off-by: Thomas Glanzmann Signed-off-by: Junio C Hamano --- diff --git a/diff-tree-helper.c b/diff-tree-helper.c index a68328321..51bb658be 100644 --- a/diff-tree-helper.c +++ b/diff-tree-helper.c @@ -1,6 +1,7 @@ /* * Copyright (C) 2005 Junio C Hamano */ +#include #include "cache.h" #include "strbuf.h" #include "diff.h" diff --git a/diff.c b/diff.c index 95488cdd9..748ab4a2f 100644 --- a/diff.c +++ b/diff.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "cache.h" #include "diff.h" diff --git a/local-pull.c b/local-pull.c index 1eec8927d..acfcbb69f 100644 --- a/local-pull.c +++ b/local-pull.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "cache.h" #include "commit.h" #include diff --git a/sha1_file.c b/sha1_file.c index ee62eee20..bf8fd6aa5 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -7,6 +7,7 @@ * creation etc. */ #include +#include #include "cache.h" #ifndef O_NOATIME