diff options
-rw-r--r-- | crypto/cryptlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <windows.h> +#endif /* All we really need to do is remove the 'error' state when a thread * detaches */ |