зеркало из https://github.com/microsoft/git.git
[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>
This commit is contained in:
Родитель
c7d1d4e1b5
Коммит
a1df57abb9
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (C) 2005 Junio C Hamano
|
||||
*/
|
||||
#include <limits.h>
|
||||
#include "cache.h"
|
||||
#include "strbuf.h"
|
||||
#include "diff.h"
|
||||
|
|
1
diff.c
1
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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
* creation etc.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include <limits.h>
|
||||
#include "cache.h"
|
||||
|
||||
#ifndef O_NOATIME
|
||||
|
|
Загрузка…
Ссылка в новой задаче