clover: add missing include to compat.h
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 17 Sep 2017 02:05:39 +0000 (22:05 -0400)
committerEric Engestrom <eric.engestrom@imgtec.com>
Mon, 18 Sep 2017 15:32:09 +0000 (16:32 +0100)
Fixes build issues with llvm-3.6
Fixes: 3115687f9b9830417c408228db2bc679e346bba6 (clover: Fix build after
LLVM r313390)

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Tested-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/state_trackers/clover/llvm/compat.hpp

index 23b111d71041a4e74f73bf679b26704f2da3eec0..f8b56516d5c541b974facf6bcc2d06eb2461846e 100644 (file)
@@ -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>