diff options
author | Thomas Glanzmann <sithglan@stud.uni-erlangen.de> | 2005-05-07 10:41:41 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-05-07 12:32:21 -0700 |
commit | a1df57abb90d456b6b600b8cf6a5232a39cd3f5e (patch) | |
tree | 8a883f6b54b448f5863e033a3eb3ff3f0c341dac | |
parent | c7d1d4e1b50a60abfec5c5daaeb104bc9838b44c (diff) | |
download | git-a1df57abb90d456b6b600b8cf6a5232a39cd3f5e.tar.gz |
[PATCH] Add #include <limits.h> so that git compiles under Solaris
<JC> 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 <sithglan@stud.uni-erlangen.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | diff-tree-helper.c | 1 | ||||
-rw-r--r-- | diff.c | 1 | ||||
-rw-r--r-- | local-pull.c | 1 | ||||
-rw-r--r-- | sha1_file.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/diff-tree-helper.c b/diff-tree-helper.c index a68328321a..51bb658be4 100644 --- a/diff-tree-helper.c +++ b/diff-tree-helper.c @@ -1,6 +1,7 @@ /* * Copyright (C) 2005 Junio C Hamano */ +#include <limits.h> #include "cache.h" #include "strbuf.h" #include "diff.h" @@ -4,6 +4,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <signal.h> +#include <limits.h> #include "cache.h" #include "diff.h" diff --git a/local-pull.c b/local-pull.c index 1eec8927db..acfcbb69f5 100644 --- a/local-pull.c +++ b/local-pull.c @@ -5,6 +5,7 @@ #include <unistd.h> #include <string.h> #include <stdlib.h> +#include <limits.h> #include "cache.h" #include "commit.h" #include <errno.h> diff --git a/sha1_file.c b/sha1_file.c index ee62eee208..bf8fd6aa5f 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -7,6 +7,7 @@ * creation etc. */ #include <stdarg.h> +#include <limits.h> #include "cache.h" #ifndef O_NOATIME |