summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-04-27 11:20:25 +0100
committerDave Airlie <airlied@redhat.com>2017-04-27 11:22:12 +0100
commit550281f934676a5064f77fd9379073d7db1f9486 (patch)
tree3c5bc5e638c7798263e9166f493f1f2069fe5c3c /src
parent63df869f0879d2e92cb121dec7edfdb4f36be8da (diff)
radeon/ac: fix build on llvm 3.8.1
Add missing include to fix build. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/amd/common/ac_llvm_helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_helper.cpp b/src/amd/common/ac_llvm_helper.cpp
index 03877d5ee1e8..4db703622ca9 100644
--- a/src/amd/common/ac_llvm_helper.cpp
+++ b/src/amd/common/ac_llvm_helper.cpp
@@ -34,6 +34,7 @@
#include <llvm/Target/TargetOptions.h>
#include <llvm/ExecutionEngine/ExecutionEngine.h>
#include <llvm/IR/Attributes.h>
+#include <llvm/IR/CallSite.h>
#if HAVE_LLVM < 0x0500
namespace llvm {