summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c.h b/include/c.h
index e52514345..815463881 100644
--- a/include/c.h
+++ b/include/c.h
@@ -149,5 +149,9 @@ prog_inv_sh_nm_from_file(char *f, char stripext)
# endif
#endif
+/* very old glibc (2.3) */
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
#endif /* UTIL_LINUX_C_H */