diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-04 18:15:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-04 18:15:37 +0000 |
commit | 6ceb04b078bfecf79a74db683771c30e50786566 (patch) | |
tree | 73d094abeb7c2c1d6f6c4c6d42bc21555a5d2cb0 /porting.h | |
parent | allow people to control install paths via `make` (diff) | |
download | pax-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |