Include file cleanups..
Add <limits.h> to the include files handled by "cache.h", and remove extraneous #include directives from various .c files. The rule is that "cache.h" gets all the basic stuff, so that we'll have as few system dependencies as possible.
This commit is contained in:
@ -1,15 +1,8 @@
|
||||
/*
|
||||
* Copyright (C) 2005 Junio C Hamano
|
||||
*/
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include "cache.h"
|
||||
#include "commit.h"
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "pull.h"
|
||||
|
||||
static int use_link = 0;
|
||||
|
Reference in New Issue
Block a user