I installed this and propagated the recent gnulib changes for
dirent.h into coreutils.
2006-07-11 Paul Eggert <[EMAIL PROTECTED]>
* src/system.h: Assume <dirent.h> exists, since gnulib assumes
this now as well.
--- src/system.h 9 Jul 2006 17:01:13 -0000 1.149
+++ src/system.h 11 Jul 2006 17:16:51 -0000
@@ -224,15 +224,9 @@ initialize_exit_failure (int status)
# define O_TEXT 0
#endif
-#if HAVE_DIRENT_H
-# include <dirent.h>
-# ifndef _D_EXACT_NAMLEN
-# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
-# endif
-#else
-# define dirent direct
-# define _D_EXACT_NAMLEN(dp) (dp)->d_namlen
-# include <ndir.h>
+#include <dirent.h>
+#ifndef _D_EXACT_NAMLEN
+# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
#endif
enum
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils