summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorThomas Glanzmann <sithglan@stud.uni-erlangen.de>2005-05-07 08:41:41 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-05-07 19:32:21 (GMT)
commita1df57abb90d456b6b600b8cf6a5232a39cd3f5e (patch)
tree8a883f6b54b448f5863e033a3eb3ff3f0c341dac /diff.c
parentc7d1d4e1b50a60abfec5c5daaeb104bc9838b44c (diff)
downloadgit-a1df57abb90d456b6b600b8cf6a5232a39cd3f5e.zip
git-a1df57abb90d456b6b600b8cf6a5232a39cd3f5e.tar.gz
git-a1df57abb90d456b6b600b8cf6a5232a39cd3f5e.tar.bz2
[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>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 95488cd..748ab4a 100644
--- a/diff.c
+++ b/diff.c
@@ -4,6 +4,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
+#include <limits.h>
#include "cache.h"
#include "diff.h"