summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-01-02 23:54:20 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2017-01-02 23:54:20 (GMT)
commitd9ca16068027f45cd0e59b3bcb31be9650e0da5f (patch)
treebec812adde67f696ac21b1ecb32955aa361fc0c6
parentd23ac70c47e70cb082d38e13c4cd741769d1bb2b (diff)
downloadtdelibs-d9ca1606.zip
tdelibs-d9ca1606.tar.gz
kimgio: Enable STDC_LIMIT_MACROS for jasper
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kimgio/jp2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 5de8fff..a8acb10 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>