]> granicus.if.org Git - clang/commitdiff
alloca.h is needed on Solaris
authorGabor Greif <ggreif@gmail.com>
Tue, 18 Sep 2007 11:01:25 +0000 (11:01 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 18 Sep 2007 11:01:25 +0000 (11:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42088 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaDecl.cpp

index b9ac2b7ab0b7ea0e15eca8df13383ee16397def3..3985d510fdb4ae9c4aaf479a7215b388556b8191 100644 (file)
@@ -23,6 +23,7 @@
 #include "clang/Basic/LangOptions.h"
 #include "clang/Basic/TargetInfo.h"
 #include "llvm/ADT/SmallSet.h"
+#include <alloca.h>
 using namespace clang;
 
 Sema::DeclTy *Sema::isTypeName(const IdentifierInfo &II, Scope *S) const {