]> sourceware.org Git - glibc.git/commitdiff
Add include/crypt.h.
authorCarlos O'Donell <carlos@redhat.com>
Fri, 28 Oct 2016 20:17:30 +0000 (16:17 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Sat, 29 Oct 2016 02:40:16 +0000 (22:40 -0400)
To support tests that include crypt.h we add a wrapper.

ChangeLog
elf/Makefile
include/crypt.h [new file with mode: 0644]

index d49f22153a0f03111d27726f59cc4a28003c08ca..cbd4409a46fd079e205b596c1ffe36e8592c7993 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
index 057a19fb2b4e623f0d92e855b089b4ba958d86d4..82c7e0559d8db6ffa4417c9d00c20f48f2db9ff8 100644 (file)
@@ -1280,7 +1280,6 @@ $(objpfx)tst-ldconfig-X.out : tst-ldconfig-X.sh $(objpfx)ldconfig
 
 $(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 \
diff --git a/include/crypt.h b/include/crypt.h
new file mode 100644 (file)
index 0000000..544551d
--- /dev/null
@@ -0,0 +1,3 @@
+#ifndef _CRYPT_H
+# include <crypt/crypt.h>
+#endif /* _CRYPT_H */
This page took 0.157115 seconds and 5 git commands to generate.