To support tests that include crypt.h we add a wrapper.
+2016-10-28 Carlos O'Donell <carlos@redhat.com>
+
+ * elf/Makefile (CFALGS-tst-linkall-static): Remove.
+ * include/crypt.h: New file.
+
2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
$(objpfx)tst-dlsym-error: $(libdl)
-CFLAGS-tst-linkall-static.c = -I../crypt
$(objpfx)tst-linkall-static: \
$(common-objpfx)math/libm.a \
$(common-objpfx)crypt/libcrypt.a \
--- /dev/null
+#ifndef _CRYPT_H
+# include <crypt/crypt.h>
+#endif /* _CRYPT_H */