summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2017-04-13 12:20:21 -0400
committerJan Vesely <[email protected]>2017-04-13 13:34:21 -0400
commitd8ffe4d0ce954218461218d0cc7c83d6832f0d98 (patch)
treea71bc2e8598d9ead5b525f6eafc0d739a7fa1868
parentb52721e3b693e113aa537d163c8a855169e7b75d (diff)
clover: Add missing include to compat header
Fixes build failure with LLVM 4 Fixes: a981e68c26dc4079a335101da0033185030207f6 (clover: Fix build against clang SVN >= r299965) Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Francisco Jerez <[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 67d2d0fd546..987680cc3c0 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>