aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-32
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r--sysdeps/wordsize-32/bits/elfclass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/wordsize-32/bits/elfclass.h b/sysdeps/wordsize-32/bits/elfclass.h
index 49411d66f3..7d9ea28695 100644
--- a/sysdeps/wordsize-32/bits/elfclass.h
+++ b/sysdeps/wordsize-32/bits/elfclass.h
@@ -2,4 +2,8 @@
the ELF file class used for executables and shared objects on this
machine. */
+#ifndef _LINK_H
+# error "Never use <bits/elfclass.h> directly; include <link.h> instead."
+#endif
+
#define __ELF_NATIVE_CLASS 32