[!_LIBC]: Include "fcntl--.h", to map open to open_safer.
authorJim Meyering <jim@meyering.net>
Wed, 11 Jan 2006 16:18:39 +0000 (16:18 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 11 Jan 2006 16:18:39 +0000 (16:18 +0000)
lib/fts.c

index fb1a72a..94d8de9 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -73,6 +73,7 @@ static char sccsid[] = "@(#)fts.c     8.6 (Berkeley) 8/14/94";
 
 #if ! _LIBC
 # include "lstat.h"
+# include "fcntl--.h"
 #endif
 
 #if defined _LIBC