From 3d3ea4dc564922a3662298a7cfc2fc8b24149901 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Sat, 22 Jun 2013 20:58:32 -0700 Subject: Add O_CLOEXEC to open calls --- src/posix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/posix.h') diff --git a/src/posix.h b/src/posix.h index 719c8a04c..40bcc1ab0 100644 --- a/src/posix.h +++ b/src/posix.h @@ -25,6 +25,9 @@ #if !defined(O_BINARY) #define O_BINARY 0 #endif +#if !defined(O_CLOEXEC) +#define O_CLOEXEC 0 +#endif typedef int git_file; -- cgit v1.2.1