summaryrefslogtreecommitdiff
path: root/io/sys/stat.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-01-11 11:19:01 +0100
committerAndreas Schwab <schwab@redhat.com>2010-01-11 15:53:55 +0100
commit2ee1283c60d2ce22a3e17bff4b83b6b7f26f4ba0 (patch)
tree8be90b58af821221e103b1d16214f6f949aacfca /io/sys/stat.h
parent16ea7828d79a56277ceb945224ab7d40e7ac14d6 (diff)
Include <bits/stat.h> only once
Diffstat (limited to 'io/sys/stat.h')
-rw-r--r--io/sys/stat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index c21801d6a9..de9b5e8064 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -104,7 +104,10 @@ typedef __blksize_t blksize_t;
__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