diff --git a/src/main/openssl.c b/src/main/openssl.c index 03440a9..12ee605 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) { -#if defined (DARWIN) || defined (FREEBSD) +#if defined (DARWIN) || defined (FREEBSD) || defined (OPENBSD) return (unsigned long)(void *)pthread_self(); #else return (unsigned long)pthread_self();