From: Andy Polyakov Date: Sun, 1 Aug 2004 21:24:34 +0000 (+0000) Subject: Cygwin fix-up for shared build. X-Git-Tag: BEN_FIPS_TEST_6~42^2~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c77094415f196153a8377f23487d67b2692a1aab;p=openssl Cygwin fix-up for shared build. --- 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 */