Include Windows.h in some source files.

https://code.google.com/p/chromium/issues/detail?id=399172#c3

Change-Id: Ie5447f0d6901d802698eabadf3bd5d42d75f588d
This commit is contained in:
Yoshisato Yanagisawa 2014-08-18 11:39:09 -07:00 committed by Adam Langley
parent 8bc38f556a
commit b7725cf3ec
3 changed files with 10 additions and 0 deletions

View File

@ -60,6 +60,8 @@
#if !defined(OPENSSL_WINDOWS) #if !defined(OPENSSL_WINDOWS)
#include <unistd.h> #include <unistd.h>
#else
#include <Windows.h>
#endif #endif
#include <openssl/buf.h> #include <openssl/buf.h>

View File

@ -114,6 +114,10 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#if defined(OPENSSL_WINDOWS)
#include <Windows.h>
#endif
#include <openssl/lhash.h> #include <openssl/lhash.h>
#include <openssl/mem.h> #include <openssl/mem.h>
#include <openssl/thread.h> #include <openssl/thread.h>

View File

@ -58,6 +58,10 @@
#include <errno.h> #include <errno.h>
#if defined(OPENSSL_WINDOWS)
#include <Windows.h>
#endif
#include <openssl/mem.h> #include <openssl/mem.h>
#include <openssl/type_check.h> #include <openssl/type_check.h>