radeon/ac: fix build on llvm 3.8.1
authorDave Airlie <airlied@redhat.com>
Thu, 27 Apr 2017 10:20:25 +0000 (11:20 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Apr 2017 10:22:12 +0000 (11:22 +0100)
Add missing include to fix build.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_helper.cpp

index 03877d5ee1e84d208d0c3dc6a7db7608b7bb8060..4db703622ca988acc653952cef07406eba31c6c2 100644 (file)
@@ -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 {