mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-03 19:59:33 +00:00
Add internal common.h file
This one pulls in compiler compatibility macros, some common header files, and also the public common.h header. C source files are modified to use the private common.h in favour of the public one. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
f501265f97
commit
76a8c44727
11
src/common.h
Normal file
11
src/common.h
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef INCLUDE_common_h__
|
||||
#define INCLUDE_common_h__
|
||||
|
||||
#include "cc-compat.h"
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "git/common.h"
|
||||
#endif /* INCLUDE_common_h__ */
|
||||
Loading…
Reference in New Issue
Block a user