summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7d1d4e)
raw | patch | inline | side by side (parent: c7d1d4e)
author | Thomas Glanzmann <sithglan@stud.uni-erlangen.de> | |
Sat, 7 May 2005 08:41:41 +0000 (10:41 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 7 May 2005 19:32:21 +0000 (12:32 -0700) |
<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>
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>
diff-tree-helper.c | patch | blob | history | |
diff.c | patch | blob | history | |
local-pull.c | patch | blob | history | |
sha1_file.c | patch | blob | history |
diff --git a/diff-tree-helper.c b/diff-tree-helper.c
index a68328321aac9585d59fa8f4f939fccbcdb6c638..51bb658be4f73c00016b4ecb82f09d30941998a4 100644 (file)
--- a/diff-tree-helper.c
+++ b/diff-tree-helper.c
/*
* Copyright (C) 2005 Junio C Hamano
*/
+#include <limits.h>
#include "cache.h"
#include "strbuf.h"
#include "diff.h"
index 95488cdd9f026f897c688428f7090aa59d099bad..748ab4a2fbd44ee43448b2db4efa2e5826b5e472 100644 (file)
--- a/diff.c
+++ b/diff.c
#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 1eec8927dbfa3af934651b25ded738d192706286..acfcbb69f570d2e4cd6cfb2e2fed030ff9065ef0 100644 (file)
--- a/local-pull.c
+++ b/local-pull.c
#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 ee62eee208aad4c0e0247fdfa1c8420c418df272..bf8fd6aa5fd76c119dd1a84cc540a5219e1987e4 100644 (file)
--- a/sha1_file.c
+++ b/sha1_file.c
* creation etc.
*/
#include <stdarg.h>
+#include <limits.h>
#include "cache.h"
#ifndef O_NOATIME