From de04302c15d0776b0e2b4a7af1eac566df15244a Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 28 Apr 2014 07:44:39 +0000 Subject: [PATCH] [trunk] Missing endianess setting Fixes issue 337 --- src/bin/common/opj_apps_config.h.cmake.in | 2 ++ src/lib/openjp2/cio.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/common/opj_apps_config.h.cmake.in b/src/bin/common/opj_apps_config.h.cmake.in index 4ea1efa3..5e606907 100644 --- a/src/bin/common/opj_apps_config.h.cmake.in +++ b/src/bin/common/opj_apps_config.h.cmake.in @@ -1,3 +1,5 @@ +#include "opj_config_private.h" + /* create opj_apps_config.h for CMake */ #cmakedefine OPJ_HAVE_LIBPNG @HAVE_LIBPNG@ diff --git a/src/lib/openjp2/cio.h b/src/lib/openjp2/cio.h index 729d073a..6dfa5bb8 100644 --- a/src/lib/openjp2/cio.h +++ b/src/lib/openjp2/cio.h @@ -49,7 +49,7 @@ The functions in CIO.C have for goal to realize a byte input / output process. /** @defgroup CIO CIO - byte input-output stream */ /*@{*/ -#include "opj_config.h" +#include "opj_config_private.h" /* ----------------------------------------------------------------------- */