Merge branch 'master' of git://github.com/git-l10n/git-po
[gitweb.git] / git-compat-util.h
index f52e00b58057c7bfe040e516835a42d117be1de2..db89ba774891a9608531e52252de19d552cbf535 100644 (file)
@@ -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