]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-linkall-static.c
test-container: Fix "unused code" warnings on HURD
[thirdparty/glibc.git] / elf / tst-linkall-static.c
index 8f40657244ad6fa769ee6e5edf35a394150d2681..d5009527d3bd4dd0c9966bc52263554896f15880 100644 (file)
@@ -1,5 +1,5 @@
 /* Test static linking against multiple libraries, to find symbol conflicts.
-   Copyright (C) 2016-2017 Free Software Foundation, Inc.
+   Copyright (C) 2016-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; see the file COPYING.LIB.  If
-   not, see <http://www.gnu.org/licenses/>.  */
+   not, see <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
 #include <pthread.h>
-#include <crypt.h>
+#if USE_CRYPT
+# include <crypt.h>
+#endif
 #include <resolv.h>
 #include <dlfcn.h>
 #include <utmp.h>