From 8f8cc94383ad2589f9be07a88d2ab1ee2342c4f9 Mon Sep 17 00:00:00 2001 From: slmistry Date: Thu, 10 Sep 2015 00:03:56 +0100 Subject: [PATCH] Include opj_malloc.h to remove warnings about opj_calloc --- src/lib/openjp2/cidx_manager.c | 1 + src/lib/openjp2/phix_manager.c | 1 + src/lib/openjp2/ppix_manager.c | 1 + src/lib/openjp2/thix_manager.c | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/openjp2/cidx_manager.c b/src/lib/openjp2/cidx_manager.c index ff2dbdaa..3b62efb4 100644 --- a/src/lib/openjp2/cidx_manager.c +++ b/src/lib/openjp2/cidx_manager.c @@ -30,6 +30,7 @@ */ #include "opj_includes.h" +#include "opj_malloc.h" /* diff --git a/src/lib/openjp2/phix_manager.c b/src/lib/openjp2/phix_manager.c index 5a3e8838..862b9236 100644 --- a/src/lib/openjp2/phix_manager.c +++ b/src/lib/openjp2/phix_manager.c @@ -34,6 +34,7 @@ */ #include "opj_includes.h" +#include "opj_malloc.h" /* diff --git a/src/lib/openjp2/ppix_manager.c b/src/lib/openjp2/ppix_manager.c index fce51489..69e4d420 100644 --- a/src/lib/openjp2/ppix_manager.c +++ b/src/lib/openjp2/ppix_manager.c @@ -34,6 +34,7 @@ */ #include "opj_includes.h" +#include "opj_malloc.h" /* * Write faix box of ppix diff --git a/src/lib/openjp2/thix_manager.c b/src/lib/openjp2/thix_manager.c index 0967b1e9..98e4eaf9 100644 --- a/src/lib/openjp2/thix_manager.c +++ b/src/lib/openjp2/thix_manager.c @@ -34,7 +34,7 @@ */ #include "opj_includes.h" - +#include "opj_malloc.h" int opj_write_thix( int coff, opj_codestream_info_t cstr_info, opj_stream_private_t *cio,