[Mesa-dev] [PATCH 1/2] clover: Add missing include

Tom Stellard thomas.stellard at amd.com
Tue Jul 19 15:13:18 UTC 2016


There was a patch committed to clang to remove unnecessary includes from
header files, so we now need to explicitly include
clang/Lex/PreprocessorOptions.h
---
 src/gallium/state_trackers/clover/llvm/invocation.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 4b7de26..437d75e 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -39,6 +39,8 @@
 #include <llvm-c/Target.h>
 
 #include <clang/CodeGen/CodeGenAction.h>
+#include "clang/Lex/PreprocessorOptions.h"
+
 #include <clang/Frontend/TextDiagnosticBuffer.h>
 #include <clang/Frontend/TextDiagnosticPrinter.h>
 #include <clang/Basic/TargetInfo.h>
-- 
2.7.4



More information about the mesa-dev mailing list