summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 57ebeb5d2f..af1208a8fc 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -632,7 +632,9 @@ typedef int bool;
char *ufc_crypt(const char *key, const char *salt);
#define crypt ufc_crypt
#else
+#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif
+#endif
#endif /* _LIBREPLACE_REPLACE_H */