[1.5] fix compilation warning about lrintf being implicit.

Fixes issue 144
This commit is contained in:
Mathieu Malaterre 2012-05-21 09:23:06 +00:00
parent 39ac7c479f
commit e17dcf58c9
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#define _ISOC99_SOURCE /* lrintf is C99 */
#include "opj_includes.h" #include "opj_includes.h"
void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t * img) { void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t * img) {