summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/abi-note.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/internals/abi-note.S b/libc/misc/internals/abi-note.S
index e6bbbe6ae..3b8b50e33 100644
--- a/libc/misc/internals/abi-note.S
+++ b/libc/misc/internals/abi-note.S
@@ -54,13 +54,14 @@ offset length contents
identify the earliest release of that OS that supports this ABI.
See abi-tags (top level) for details. */
+#include <features.h>
#include <abi-tag.h> /* OS-specific ABI tag value */
/* The linker (GNU ld 2.8 and later) recognizes an allocated section whose
name begins with `.note' and creates a PT_NOTE program header entry
pointing at it. */
-#ifdef HAVE_ELF
+#ifdef __HAVE_ELF__
.section ".note.ABI-tag", "a"
#else
.section .note