diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 11:03:27 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 11:03:27 -0800 |
commit | 64c1f3af5d6176dd32285d2e02dc93713466f82f (patch) | |
tree | 774d82db9a89a35974b3a820379de12cca257a56 /sysdeps/unix/bsd | |
parent | 7b4715c5362319e1ff2f9555d17133146e16081a (diff) | |
download | glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.tar glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.tar.gz glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.tar.bz2 glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.zip |
Fix double-inclusion problem of bits/stat.h.
Diffstat (limited to 'sysdeps/unix/bsd')
-rw-r--r-- | sysdeps/unix/bsd/bits/stat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bits/stat.h b/sysdeps/unix/bsd/bits/stat.h index 16e5c520fe..6eeab3b0ee 100644 --- a/sysdeps/unix/bsd/bits/stat.h +++ b/sysdeps/unix/bsd/bits/stat.h @@ -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 */ |