summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 89b6f61f7b4d3ac809de9427927a8cd515b4bc1e (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
#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 <stdlib.h>
#include <unistd.h>
#include <string.h>

#ifndef PRIuPTR
# define PRIuPTR "lu"
#endif

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

#define GIT_PATH_MAX 4096

#endif /* INCLUDE_common_h__ */