summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-01-03 00:54:20 +0100
committerSlávek Banko <[email protected]>2017-01-03 00:54:20 +0100
commitd9ca16068027f45cd0e59b3bcb31be9650e0da5f (patch)
treebec812adde67f696ac21b1ecb32955aa361fc0c6 /kimgio
parentd23ac70c47e70cb082d38e13c4cd741769d1bb2b (diff)
downloadtdelibs-d9ca16068027f45cd0e59b3bcb31be9650e0da5f.tar.gz
tdelibs-d9ca16068027f45cd0e59b3bcb31be9650e0da5f.zip
kimgio: Enable STDC_LIMIT_MACROS for jasper
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/jp2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 5de8fff8e..a8acb108b 100644
--- a/kimgio/jp2.cpp
+++ b/kimgio/jp2.cpp
@@ -10,6 +10,9 @@
#include "jp2.h"
#ifdef HAVE_STDINT_H
+#if !defined(__STDC_LIMIT_MACROS)
+#define __STDC_LIMIT_MACROS
+#endif
#include <stdint.h>
#endif
#include <tdetempfile.h>