summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/dirent.h')
-rw-r--r--sysdeps/generic/bits/dirent.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/bits/dirent.h b/sysdeps/generic/bits/dirent.h
index 2f7dca78aa..366cdf8ce2 100644
--- a/sysdeps/generic/bits/dirent.h
+++ b/sysdeps/generic/bits/dirent.h
@@ -1,5 +1,5 @@
/* Directory entry structure `struct dirent'. Stub version.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef _DIRENT_H
+# error "Never use <bits/dirent.h> directly; include <dirent.h> instead."
+#endif
+
struct dirent
{
char d_name[1]; /* Variable length. */