diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index 7fd781f69cf..27781b230fd 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -188,8 +188,8 @@ # endif #endif /* TIME_WITH_SYS_TIME */ #ifdef HAVE_UNISTD_H -#ifdef HAVE_OPENSSL -#define crypt dummy +#if defined(HAVE_OPENSSL) && !defined(__FreeBSD__) && !defined(NeXT) +#define crypt unistd_crypt #endif #include <unistd.h> #ifdef HAVE_OPENSSL |