summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/tracked.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/tracked.cc b/base/tracked.cc
index d35ba62..0a246ae 100644
--- a/base/tracked.cc
+++ b/base/tracked.cc
@@ -5,7 +5,10 @@
#include "build/build_config.h"
#if defined(COMPILER_MSVC)
-#include <intrin.h>
+// MSDN says to #include <intrin.h>, but that breaks the VS2005 build.
+extern "C" {
+void* _ReturnAddress();
+}
#endif
#include "base/tracked.h"