Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat put O_CLOEXEC definition here.
details: https://anonhg.NetBSD.org/src/rev/de434b6df5be
branches: trunk
changeset: 332490:de434b6df5be
user: christos <christos%NetBSD.org@localhost>
date: Wed Sep 24 13:17:35 2014 +0000
description:
put O_CLOEXEC definition here.
diffstat:
tools/compat/compat_defs.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r d58e4b610978 -r de434b6df5be tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h Wed Sep 24 10:57:03 2014 +0000
+++ b/tools/compat/compat_defs.h Wed Sep 24 13:17:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.98 2014/09/01 11:20:06 apb Exp $ */
+/* $NetBSD: compat_defs.h,v 1.99 2014/09/24 13:17:35 christos Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -593,6 +593,9 @@
#ifndef O_SHLOCK
#define O_SHLOCK 0
#endif
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
/* <inttypes.h> */
Home |
Main Index |
Thread Index |
Old Index