summaryrefslogtreecommitdiff
path: root/io/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/fcntl.h')
-rw-r--r--io/fcntl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index 4eb003be46..d54fcf18b2 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -38,7 +38,10 @@ __BEGIN_DECLS
# 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