aboutsummaryrefslogtreecommitdiff
path: root/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-13 08:21:39 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-13 08:21:39 +0000
commit7ae53264155936afb6b8af7eb6d4d0645fb9a6bb (patch)
tree5b66fde27e6eef073f32963a342cf58dfae33b7a /Lex/Preprocessor.cpp
parentb0a721a51a85b7b1ea9b33dbe12f4a58232590e2 (diff)
Solaris needs an included header for alloca
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Lex/Preprocessor.cpp')
-rw-r--r--Lex/Preprocessor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lex/Preprocessor.cpp b/Lex/Preprocessor.cpp
index 104fb65152..9c2683315f 100644
--- a/Lex/Preprocessor.cpp
+++ b/Lex/Preprocessor.cpp
@@ -37,6 +37,7 @@
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/SmallVector.h"
#include <iostream>
+#include <alloca.h>
using namespace clang;
//===----------------------------------------------------------------------===//