Include missing "windows.h" and fix headers ordering

For PCWSTR on line 198.
This commit is contained in:
Tomas Rycl 2018-04-19 14:27:57 +02:00 committed by Samuel Attard
parent d6ffbc0148
commit 1ac0ab2b71
3 changed files with 7 additions and 1 deletions

View file

@ -18,6 +18,7 @@
#include "native_mate/arguments.h" #include "native_mate/arguments.h"
#if defined(OS_WIN) #if defined(OS_WIN)
#include <windows.h>
#include "base/files/file_path.h" #include "base/files/file_path.h"
#endif #endif

View file

@ -4,8 +4,9 @@
#include "atom/browser/ui/certificate_trust.h" #include "atom/browser/ui/certificate_trust.h"
#include <windows.h> // windows.h must be included first
#include <wincrypt.h> #include <wincrypt.h>
#include <windows.h>
#include "base/callback.h" #include "base/callback.h"
#include "net/cert/cert_database.h" #include "net/cert/cert_database.h"

View file

@ -11,6 +11,10 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/synchronization/lock.h" #include "base/synchronization/lock.h"
#if defined(OS_WIN)
#include <windows.h>
#endif // defined(OS_WIN)
namespace google_breakpad { namespace google_breakpad {
class CrashReportSender; class CrashReportSender;