Skip to content

Commit

Permalink
Avoid jasper compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 18, 2024
1 parent eef7eea commit feb1b4b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/lib/mrvWidgets/mrvVersion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@
# include <tlGL/Init.h>
#endif

#ifdef TLRENDER_RAW
# include <jasper/jas_version.h>
# include <lcms2.h>
# include <libraw/libraw_version.h>
#endif

#ifdef TLRENDER_STB
# include <stb/stb_image.h>
#endif
Expand Down Expand Up @@ -153,6 +147,15 @@ extern "C"

#include "mrvFl/mrvIO.h"


// Must come last!
#ifdef TLRENDER_RAW
# include <lcms2.h>
# include <libraw/libraw_version.h>
# define __STDC_VERSION__ 201112L // Avoid compiler warning
# include <jasper/jas_version.h>
#endif

namespace mrv
{
namespace
Expand Down

0 comments on commit feb1b4b

Please sign in to comment.