From c77094415f196153a8377f23487d67b2692a1aab Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 1 Aug 2004 21:24:34 +0000 Subject: [PATCH] Cygwin fix-up for shared build. --- crypto/cryptlib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index e0380a38f4..419d37ca5d 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -572,6 +572,10 @@ void OPENSSL_cpuid_setup() {} #endif #if (defined(_WIN32) || defined(__CYGWIN__)) && defined(_DLL) +#ifdef __CYGWIN__ +/* pick DLL_[PROCESS|THREAD]_[ATTACH|DETACH] definitions */ +#include +#endif /* All we really need to do is remove the 'error' state when a thread * detaches */ -- 2.40.0