libc: revert inadvertent removal of O_CLOEXEC #ifndefs

Change-Id: I15005181388280363f7aee546bd2ecc0cd5b37e6
This commit is contained in:
Thomas Veerman
2013-07-12 18:38:17 +02:00
committed by Lionel Sambuc
parent 714dd83efe
commit 2a8a99cc6a
3 changed files with 14 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ __RCSID("$NetBSD: initdir.c,v 1.3 2012/03/13 21:13:36 christos Exp $");
#include <sys/featuretest.h>
#include <sys/types.h>
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif
#endif
#include "reentrant.h"