summaryrefslogtreecommitdiffstats
path: root/kernel/kls_jpeg2000
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-02-04 15:25:31 +0100
committerSlávek Banko <[email protected]>2017-02-04 15:25:31 +0100
commitd58ece7928ea712335805e16482bb89473fba9e9 (patch)
treefb3f0691a71ad4c848ad05e0ee6423ab95c36a61 /kernel/kls_jpeg2000
parentc1a8c46a6745e1e266564d3fa49f69d7f22d1c62 (diff)
downloadlibksquirrel-d58ece7928ea712335805e16482bb89473fba9e9.tar.gz
libksquirrel-d58ece7928ea712335805e16482bb89473fba9e9.zip
Enable STDC_LIMIT_MACROS for jasper
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kernel/kls_jpeg2000')
-rw-r--r--kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp b/kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp
index c4fecf0..010c7c6 100644
--- a/kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp
+++ b/kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp
@@ -23,6 +23,12 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#if defined(HAVE_STDINT_H)
+#if !defined(__STDC_LIMIT_MACROS)
+#define __STDC_LIMIT_MACROS
+#endif
+#include <stdint.h>
+#endif
#include "ksquirrel-libs/fmt_types.h"
#include "ksquirrel-libs/fileio.h"