summaryrefslogtreecommitdiffstats
path: root/kernel/kls_jpeg2000
diff options
context:
space:
mode:
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"