]> git.proxmox.com Git - libgit2.git/blame - src/common.h
Cleanup our header inclusion order to ensure pthread.h is early
[libgit2.git] / src / common.h
CommitLineData
76a8c447
AE
1#ifndef INCLUDE_common_h__
2#define INCLUDE_common_h__
3
d44cfd46 4#include "git/thread-utils.h"
b3039bee 5
a1d34bc0
SP
6#ifdef GIT_HAS_PTHREAD
7# include <pthread.h>
8#endif
064301cc 9#include <inttypes.h>
75d58430 10#include <assert.h>
76a8c447
AE
11#include <errno.h>
12#include <stdlib.h>
13#include <unistd.h>
14#include <string.h>
15
064301cc
SP
16#ifndef PRIuPTR
17# define PRIuPTR "lu"
18#endif
19
d44cfd46 20#include "cc-compat.h"
64a47c01 21#include "util.h"
d44cfd46 22#include "errors.h"
5ee2fe77
RJ
23
24#define GIT_PATH_MAX 4096
25
76a8c447 26#endif /* INCLUDE_common_h__ */