* lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
authorJim Meyering <jim@meyering.net>
Wed, 8 Nov 2006 07:42:26 +0000 (07:42 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 8 Nov 2006 07:42:26 +0000 (07:42 +0000)
It's already included if !_LIBC.

ChangeLog
lib/fts.c

index 9f6725f..4ac2372 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-08  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
+       It's already included if !_LIBC.
+
 2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
index c15f04c..75bab3c 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -155,7 +155,6 @@ static void leave_dir (FTS *fts, FTSENT *ent) {}
 static bool setup_dir (FTS *fts) { return true; }
 static void free_dir (FTS *fts) {}
 #else
-# include "fcntl--.h"
 # include "fts-cycle.c"
 #endif