aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/bsd4.4/bits/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/bsd4.4/bits/dirent.h')
-rw-r--r--sysdeps/unix/bsd/bsd4.4/bits/dirent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/bits/dirent.h b/sysdeps/unix/bsd/bsd4.4/bits/dirent.h
index b9e0d7277e..e29dac4806 100644
--- a/sysdeps/unix/bsd/bsd4.4/bits/dirent.h
+++ b/sysdeps/unix/bsd/bsd4.4/bits/dirent.h
@@ -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
{
__ino_t d_fileno; /* File serial number. */