diff options
author | serg@serg.mysql.com <> | 2001-12-15 21:39:26 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-12-15 21:39:26 +0100 |
commit | fc3e066f36e3b084674cbb9f3febb67e0ddbbc09 (patch) | |
tree | 85451db091b2d55b35cc3b99896b0c1b3d925a6e /include/my_global.h | |
parent | 15f84e261701ac683a8752142d9cce7c22ffa942 (diff) | |
download | mariadb-git-fc3e066f36e3b084674cbb9f3febb67e0ddbbc09.tar.gz |
freebsd fix for openssl
horrible bug fixed
Diffstat (limited to 'include/my_global.h')
-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 |