From feb1b4b1eae2ebf53c0d4978b982fa2558d59c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Wed, 18 Sep 2024 06:27:34 -0300 Subject: [PATCH] Avoid jasper compiler warning. --- src/lib/mrvWidgets/mrvVersion.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/lib/mrvWidgets/mrvVersion.cpp b/src/lib/mrvWidgets/mrvVersion.cpp index ea6f40eff..d1e44dfb2 100644 --- a/src/lib/mrvWidgets/mrvVersion.cpp +++ b/src/lib/mrvWidgets/mrvVersion.cpp @@ -76,12 +76,6 @@ # include #endif -#ifdef TLRENDER_RAW -# include -# include -# include -#endif - #ifdef TLRENDER_STB # include #endif @@ -153,6 +147,15 @@ extern "C" #include "mrvFl/mrvIO.h" + +// Must come last! +#ifdef TLRENDER_RAW +# include +# include +# define __STDC_VERSION__ 201112L // Avoid compiler warning +# include +#endif + namespace mrv { namespace