summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 61950787a1b26ddd5e6f28ccfb381b91c7cf5236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef INCLUDE_common_h__
#define INCLUDE_common_h__

#include "git/thread-utils.h"

#ifdef GIT_HAS_PTHREAD
# include <pthread.h>
#endif
#include <inttypes.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

#ifndef PRIuPTR
# define PRIuPTR "lu"
#endif

#include "cc-compat.h"
#include "util.h"
#include "thread-utils.h"
#include "errors.h"

#define GIT_PATH_MAX 4096

#endif /* INCLUDE_common_h__ */