summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2017-09-16 22:05:39 -0400
committerEric Engestrom <[email protected]>2017-09-18 16:32:09 +0100
commit30741187c1c1a33690a08e56b9e4afd158d8d432 (patch)
tree789afe0e0f2f1159a6af0457beb2bf7f3b5763c8
parentfdf0f1db22d1a85abb38131c6f0757eabcdad80a (diff)
clover: add missing include to compat.h
Fixes build issues with llvm-3.6 Fixes: 3115687f9b9830417c408228db2bc679e346bba6 (clover: Fix build after LLVM r313390) Signed-off-by: Jan Vesely <[email protected]> Tested-by: Gert Wollny <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r--src/gallium/state_trackers/clover/llvm/compat.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/compat.hpp b/src/gallium/state_trackers/clover/llvm/compat.hpp
index 23b111d7104..f8b56516d5c 100644
--- a/src/gallium/state_trackers/clover/llvm/compat.hpp
+++ b/src/gallium/state_trackers/clover/llvm/compat.hpp
@@ -36,6 +36,7 @@
#include "util/algorithm.hpp"
+#include <llvm/IR/LLVMContext.h>
#include <llvm/Linker/Linker.h>
#include <llvm/Transforms/IPO.h>
#include <llvm/Target/TargetMachine.h>