1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix double-inclusion problem of bits/stat.h.

This commit is contained in:
Ulrich Drepper
2010-01-11 11:03:27 -08:00
parent 7b4715c536
commit 64c1f3af5d
10 changed files with 56 additions and 1 deletions

View File

@ -20,6 +20,9 @@
# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
#endif
#ifndef _BITS_STAT_H
#define _BITS_STAT_H 1
#include <bits/types.h>
/* Structure describing file characteristics. */
@ -84,3 +87,5 @@ struct stat
#define __S_IREAD 0400 /* Read by owner. */
#define __S_IWRITE 0200 /* Write by owner. */
#define __S_IEXEC 0100 /* Execute by owner. */
#endif /* bits/stat.h */