diff options
author | Slávek Banko <[email protected]> | 2017-02-04 15:25:31 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-02-04 15:25:31 +0100 |
commit | d58ece7928ea712335805e16482bb89473fba9e9 (patch) | |
tree | fb3f0691a71ad4c848ad05e0ee6423ab95c36a61 | |
parent | c1a8c46a6745e1e266564d3fa49f69d7f22d1c62 (diff) | |
download | libksquirrel-d58ece7928ea712335805e16482bb89473fba9e9.tar.gz libksquirrel-d58ece7928ea712335805e16482bb89473fba9e9.zip |
Enable STDC_LIMIT_MACROS for jasper
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | kernel/kls_jpeg2000/fmt_codec_jpeg2000.cpp | 6 |
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" |