Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/packet-line-protocol-doc-fix'
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index f52e00b58057c7bfe040e516835a42d117be1de2..db89ba774891a9608531e52252de19d552cbf535 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-667,6
+667,10
@@
void *gitmemmem(const void *haystack, size_t haystacklen,
#define getpagesize() sysconf(_SC_PAGESIZE)
#endif
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
+
#ifdef FREAD_READS_DIRECTORIES
#ifdef fopen
#undef fopen