about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/apr-util/fix-libxcrypt-build.patch
blob: 2994e5de0f78b1009d292bf35bfba2b8367130ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/crypto/apr_passwd.c b/crypto/apr_passwd.c
index c961de2..a397f27 100644
--- a/crypto/apr_passwd.c
+++ b/crypto/apr_passwd.c
@@ -24,9 +24,7 @@
 #if APR_HAVE_STRING_H
 #include <string.h>
 #endif
-#if APR_HAVE_CRYPT_H
 #include <crypt.h>
-#endif
 #if APR_HAVE_UNISTD_H
 #include <unistd.h>
 #endif