diff options
Diffstat (limited to 'elf/tst-linkall-static.c')
-rw-r--r-- | elf/tst-linkall-static.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/tst-linkall-static.c b/elf/tst-linkall-static.c index e8df38f74e..d0f2592e67 100644 --- a/elf/tst-linkall-static.c +++ b/elf/tst-linkall-static.c @@ -18,7 +18,9 @@ #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> |