summaryrefslogtreecommitdiff
path: root/libc/misc/internals/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/Makefile')
-rw-r--r--libc/misc/internals/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile
index 473ea926c..edb2ce471 100644
--- a/libc/misc/internals/Makefile
+++ b/libc/misc/internals/Makefile
@@ -42,6 +42,7 @@ ar-target: $(OBJS)
interp.c: Makefile
echo "/* Force shared libraries to know about the correct library loader */" > interp.c
+ echo "#include <features.h>" >> interp.c
echo "#ifdef HAVE_ELF" >> interp.c
echo "const char __dl_ldso__[] __attribute__ ((section " \
"(\".interp\"))) =\""$(DYNAMIC_LINKER)"\";" >> interp.c