From: Laurent Carlier Date: Fri, 11 Nov 2016 13:00:26 +0000 (+0100) Subject: clover: fix building since llvm r286566 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ff9f8c5328310a463d3f16f573b68aa20ab8339;p=mesa.git clover: fix building since llvm r286566 pretty trivial fix --- diff --git a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp index 108f8d54e9e..8e89a49a9c0 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp +++ b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp @@ -37,7 +37,12 @@ #include "util/algorithm.hpp" #include +#if HAVE_LLVM < 0x0400 #include +#else +#include +#include +#endif #include using namespace clover;