common.h 497 Bytes
Newer Older
1 2 3
#ifndef INCLUDE_common_h__
#define INCLUDE_common_h__

4
#include "git/thread-utils.h"
5

6 7 8
#ifdef GIT_HAS_PTHREAD
# include <pthread.h>
#endif
9
#include <inttypes.h>
10
#include <assert.h>
11
#include <errno.h>
12
#include <limits.h>
13 14 15 16
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

17 18 19 20
#ifndef PRIuPTR
# define PRIuPTR "lu"
#endif

21
#include "cc-compat.h"
22
#include "git/common.h"
23
#include "util.h"
24
#include "thread-utils.h"
25
#include "errors.h"
26 27 28

#define GIT_PATH_MAX 4096

29
#endif /* INCLUDE_common_h__ */