clover: Add missing include to compat header
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 13 Apr 2017 16:20:21 +0000 (12:20 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 13 Apr 2017 17:34:21 +0000 (13:34 -0400)
Fixes build failure with LLVM 4

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

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/compat.hpp

index 67d2d0fd546c61c0b118c6e57e0db76aa1f2d3f9..987680cc3c0486ebdc56ca31d94d2b02aabd9bc6 100644 (file)
@@ -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>