[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>
diff --git a/usr/include/arch/mips/klibc/archfcntl.h b/usr/include/arch/mips/klibc/archfcntl.h
index 1f61822..2e57116 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