aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-04 18:15:37 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-04 18:15:37 +0000
commit6ceb04b078bfecf79a74db683771c30e50786566 (patch)
tree73d094abeb7c2c1d6f6c4c6d42bc21555a5d2cb0 /porting.h
parentallow people to control install paths via `make` (diff)
downloadpax-utils-6ceb04b078bfecf79a74db683771c30e50786566.tar.gz
pax-utils-6ceb04b078bfecf79a74db683771c30e50786566.tar.bz2
pax-utils-6ceb04b078bfecf79a74db683771c30e50786566.zip
if O_CLOEXEC is not defined, set it to 0
Diffstat (limited to 'porting.h')
-rw-r--r--porting.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/porting.h b/porting.h
index eae71b5..ae50fee 100644
--- a/porting.h
+++ b/porting.h
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2007 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.41 2011/10/08 18:34:06 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.42 2012/02/04 18:15:37 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
@@ -203,4 +203,8 @@
# endif
#endif
+#ifndef O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
#endif /* _PORTING_H */