summaryrefslogtreecommitdiffstats
path: root/osdep/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/io.h')
-rw-r--r--osdep/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/io.h b/osdep/io.h
index 5fa36abb1e..4cb16677f2 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -34,6 +34,9 @@
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif
+#ifndef FD_CLOEXEC
+#define FD_CLOEXEC 0
+#endif
bool mp_set_cloexec(int fd);