diff options
author | maximilian attems <max@stro.at> | 2012-05-18 15:28:39 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2012-05-18 15:30:21 +0200 |
commit | 21d88c323776791bc2e5e2114796ef91cef421e3 (patch) | |
tree | a7ac7609ea1734f6d1115ee797735b0f85748b68 | |
parent | 0d3fa710694d589afa0cd955f7a53ce94f80769f (diff) | |
download | klibc-21d88c323776791bc2e5e2114796ef91cef421e3.tar.gz |
[klibc] mips: define O_CLOEXEC
Fixes:
usr/klibc/stdio/fopen.c: In function '__parse_open_mode':
usr/klibc/stdio/fopen.c:28:14: error: 'O_CLOEXEC' undeclared (first use in this function)
Reported-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/arch/mips/klibc/archfcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/include/arch/mips/klibc/archfcntl.h b/usr/include/arch/mips/klibc/archfcntl.h index 1f6182237c9d6..2e5711651fb59 100644 --- a/usr/include/arch/mips/klibc/archfcntl.h +++ b/usr/include/arch/mips/klibc/archfcntl.h @@ -31,6 +31,7 @@ #define O_DIRECTORY 0x10000 #define O_NOFOLLOW 0x20000 #define O_NOATIME 0x40000 +#define O_CLOEXEC 0x80000 #define O_NDELAY O_NONBLOCK |