summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-12-15 21:39:26 +0100
committerserg@serg.mysql.com <>2001-12-15 21:39:26 +0100
commitfc3e066f36e3b084674cbb9f3febb67e0ddbbc09 (patch)
tree85451db091b2d55b35cc3b99896b0c1b3d925a6e /include/my_global.h
parent15f84e261701ac683a8752142d9cce7c22ffa942 (diff)
downloadmariadb-git-fc3e066f36e3b084674cbb9f3febb67e0ddbbc09.tar.gz
freebsd fix for openssl
horrible bug fixed
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
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