include/openssl: don't include <windows.h> in public headers.
authorAndy Polyakov <appro@openssl.org>
Sun, 26 Jun 2016 11:40:15 +0000 (13:40 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 8 Jul 2016 09:49:44 +0000 (11:49 +0200)
commitf1f5ee17b64397eecfde39960ca11e94064297bd
tree811a0a155a461065aecca798e7b7e090de7b80d9
parentab6a591caa561017f881ed36028177f9582a74c6
include/openssl: don't include <windows.h> in public headers.

If application uses any of Windows-specific interfaces, make it
application developer's respondibility to include <windows.h>.
Rationale is that <windows.h> is quite "toxic" and is sensitive
to inclusion order (most notably in relation to <winsock2.h>).
It's only natural to give complete control to the application developer.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
21 files changed:
crypto/async/arch/async_null.c
crypto/async/async_locl.h
crypto/threads_win.c
doc/crypto/ASYNC_WAIT_CTX_new.pod
doc/crypto/ASYNC_start_job.pod
doc/crypto/CRYPTO_THREAD_run_once.pod
doc/ssl/SSL_get_all_async_fds.pod
engines/e_capi.c
engines/e_dasync.c
include/openssl/async.h
include/openssl/crypto.h
include/openssl/ossl_typ.h
include/openssl/pkcs7.h
include/openssl/rand.h
include/openssl/ssl.h
include/openssl/ts.h
include/openssl/x509.h
include/openssl/x509v3.h
test/asynctest.c
test/threadstest.c
util/mkdef.pl