aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/common/bits/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/common/bits/dirent.h')
-rw-r--r--sysdeps/unix/common/bits/dirent.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/common/bits/dirent.h b/sysdeps/unix/common/bits/dirent.h
index 5ba1054049..e32f7f03c8 100644
--- a/sysdeps/unix/common/bits/dirent.h
+++ b/sysdeps/unix/common/bits/dirent.h
@@ -1,4 +1,4 @@
-/* Directory entry structure `struct dirent'. SVR4/Linux version.
+/* Directory entry structure `struct dirent'. SVR4 version.
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -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
{
unsigned int d_fileno;