diff options
author | Russell Belfer <rb@github.com> | 2013-06-23 07:58:32 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-23 07:58:32 +0400 |
commit | 3d3ea4dc564922a3662298a7cfc2fc8b24149901 (patch) | |
tree | fdfc6507cad967fa809d0596f9ef097c0a74c22f /src/posix.h | |
parent | 9f1b2c5cb79526f274c0c72eed56f9da0efb0321 (diff) |
Add O_CLOEXEC to open calls
Diffstat (limited to 'src/posix.h')
-rw-r--r-- | src/posix.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |