summaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/bits/elfclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/bits/elfclass.h')
-rw-r--r--sysdeps/wordsize-64/bits/elfclass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/bits/elfclass.h b/sysdeps/wordsize-64/bits/elfclass.h
index ac52904886..bf76faf418 100644
--- a/sysdeps/wordsize-64/bits/elfclass.h
+++ b/sysdeps/wordsize-64/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 64