From e17dcf58c97604117307f797d387145d398194d6 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 21 May 2012 09:23:06 +0000 Subject: [PATCH] [1.5] fix compilation warning about lrintf being implicit. Fixes issue 144 --- libopenjpeg/tcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 18cdbc78..94c5d79f 100644 --- a/libopenjpeg/tcd.c +++ b/libopenjpeg/tcd.c @@ -30,6 +30,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define _ISOC99_SOURCE /* lrintf is C99 */ #include "opj_includes.h" void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t * img) {