[Mesa-dev] [PATCH] clover: Add missing include to compat header

Jan Vesely jan.vesely at rutgers.edu
Thu Apr 13 16:24:02 UTC 2017


Fixes build failure with LLVM 4

Fixes: a981e68c26dc4079a335101da0033185030207f6
	(clover: Fix build against clang SVN >= r299965)

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 src/gallium/state_trackers/clover/llvm/compat.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/clover/llvm/compat.hpp b/src/gallium/state_trackers/clover/llvm/compat.hpp
index 67d2d0f..987680c 100644
--- a/src/gallium/state_trackers/clover/llvm/compat.hpp
+++ b/src/gallium/state_trackers/clover/llvm/compat.hpp
@@ -55,6 +55,7 @@
 #include <llvm/Support/FormattedStream.h>
 #endif
 
+#include <clang/Basic/TargetInfo.h>
 #include <clang/Frontend/CodeGenOptions.h>
 #include <clang/Frontend/CompilerInstance.h>
 
-- 
2.9.3



More information about the mesa-dev mailing list