Browse Source

Doh. Add a missing #include to interp.c. I wonder why it used to
work? Perhaps the wrapper bug miles fixed? Regardless this is very
much needed.
-Erik

Eric Andersen 23 years ago
parent
commit
87f912c03f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/misc/internals/Makefile

+ 1 - 0
libc/misc/internals/Makefile

@@ -42,6 +42,7 @@ ar-target: $(OBJS)
 
 
 interp.c: Makefile
 interp.c: Makefile
 	echo "/* Force shared libraries to know about the correct library loader */" > interp.c
 	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 "#ifdef HAVE_ELF" >> interp.c
 	echo "const char __dl_ldso__[] __attribute__ ((section " \
 	echo "const char __dl_ldso__[] __attribute__ ((section " \
 		"(\".interp\"))) =\""$(DYNAMIC_LINKER)"\";" >> interp.c
 		"(\".interp\"))) =\""$(DYNAMIC_LINKER)"\";" >> interp.c