summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-11-08 13:08:41 +0000
committerAlexey Samsonov <samsonov@google.com>2012-11-08 13:08:41 +0000
commite43542a361e0388263b546292d30af81a5e5993c (patch)
tree74a8225cee4299cd897b19badd42f1dead8d70fa
parent79c9836f727cbaaf380ccb29e1ef62de83a2e810 (diff)
downloadcompiler-rt-e43542a361e0388263b546292d30af81a5e5993c.tar.gz
[Sanitizer] try to fix Windows bot - include stdlib.h for abort/_exit functions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167577 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/sanitizer_common/sanitizer_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc
index 297e3d2df..907936f7d 100644
--- a/lib/sanitizer_common/sanitizer_win.cc
+++ b/lib/sanitizer_common/sanitizer_win.cc
@@ -14,6 +14,7 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOGDI
+#include <stdlib.h>
#include <windows.h>
#include "sanitizer_common.h"