diff --git a/src/main/openssl.c b/src/main/openssl.c index 4140dce..03440a9 100644 --- a/src/main/openssl.c +++ b/src/main/openssl.c @@ -25,7 +25,7 @@ static pthread_mutex_t *lockv; static unsigned long threadid_handler(void) { -#ifdef DARWIN +#if defined (DARWIN) || defined (FREEBSD) return (unsigned long)(void *)pthread_self(); #else return (unsigned long)pthread_self();