summaryrefslogtreecommitdiffstats
path: root/base/third_party/nspr/prtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/third_party/nspr/prtypes.h')
-rw-r--r--base/third_party/nspr/prtypes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/third_party/nspr/prtypes.h b/base/third_party/nspr/prtypes.h
index e9e41c2..d77a2a4 100644
--- a/base/third_party/nspr/prtypes.h
+++ b/base/third_party/nspr/prtypes.h
@@ -52,6 +52,14 @@
#ifndef prtypes_h___
#define prtypes_h___
+#include "build/build_config.h"
+
+#ifdef OS_WIN
+// This files assumes windows.h has been included first since it expects _X86_
+// or _AMD64_ to be defined.
+#include <windows.h>
+#endif // OS_WIN
+
#ifdef MDCPUCFG
#include MDCPUCFG
#else