summaryrefslogtreecommitdiff
path: root/libopenjpeg
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-05-21 09:23:06 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-05-21 09:23:06 +0000
commite17dcf58c97604117307f797d387145d398194d6 (patch)
treea19034f3ef71c98022eeb97e35ffdc8d17bfbb94 /libopenjpeg
parent39ac7c479ff2a1294842121d5a72cd77cd2d4f92 (diff)
[1.5] fix compilation warning about lrintf being implicit.
Fixes issue 144
Diffstat (limited to 'libopenjpeg')
-rw-r--r--libopenjpeg/tcd.c1
1 files changed, 1 insertions, 0 deletions
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) {