2010-01-11 Andreas Schwab <schwab@redhat.com>
+ * io/fcntl.h: Only include <bits/stat.h> once.
+ * io/sys/stat.h: Likewise.
+
* bits/confname.h: Add missing comma, remove trailing commas.
2010-01-10 Ulrich Drepper <drepper@redhat.com>
# include <bits/types.h> /* For __mode_t and __dev_t. */
# define __need_timespec
# include <time.h>
-# include <bits/stat.h>
+# ifndef __bits_stat_h_included
+# include <bits/stat.h>
+# define __bits_stat_h_included
+# endif
# define S_IFMT __S_IFMT
# define S_IFDIR __S_IFDIR
__BEGIN_DECLS
-#include <bits/stat.h>
+#ifndef __bits_stat_h_included
+# include <bits/stat.h>
+# define __bits_stat_h_included
+#endif
#if defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN
# define S_IFMT __S_IFMT