diff options
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index f41ac3ed184..c7a3498b76a 100644 --- a/include/global.h +++ b/include/global.h @@ -189,7 +189,13 @@ # endif #endif /* TIME_WITH_SYS_TIME */ #ifdef HAVE_UNISTD_H +#ifdef HAVE_OPENSSL +#define crypt dummy +#endif #include <unistd.h> +#ifdef HAVE_OPENSSL +#undef crypt +#endif #endif #if defined(__cplusplus) && defined(NO_CPLUSPLUS_ALLOCA) #undef HAVE_ALLOCA |