diff --git a/src/Nazara/Utility/X11/CursorImpl.cpp b/src/Nazara/Utility/X11/CursorImpl.cpp index 8cdde5170..ca40b0e64 100644 --- a/src/Nazara/Utility/X11/CursorImpl.cpp +++ b/src/Nazara/Utility/X11/CursorImpl.cpp @@ -9,7 +9,14 @@ #include #include #include + +// Some older versions of xcb/util-renderutil (notably the one available on Travis CI) use `template` as an argument name +// This is a fixed bug (https://cgit.freedesktop.org/xcb/util-renderutil/commit/?id=8d15acc45a47dc4c922eee5b99885db42bc62c17) but until Travis-CI +// has upgraded their Ubuntu version, I'm forced to use this ugly trick. +#define template ptemplate #include +#undef template + #include namespace Nz