1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Issue error message if the header is used directly.

This commit is contained in:
Ulrich Drepper
1997-11-26 04:14:44 +00:00
parent e00fbfc6aa
commit 905714080f
62 changed files with 559 additions and 420 deletions

View File

@@ -16,12 +16,9 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/*
* Never include this file directly; use <sys/stat.h> instead.
*/
#ifndef _BITS_STAT_H
#define _BITS_STAT_H 1
#ifndef _SYS_STAT_H
# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
#endif
/* Versions of the `struct stat' data structure. */
#define _STAT_VER_KERNEL 0
@@ -112,5 +109,3 @@ struct stat64
#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 */