summaryrefslogtreecommitdiffstats
path: root/kimgio/jp2.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-01-03 00:54:20 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-01-03 00:54:32 +0100
commit075aa0a11d5177d6bc646dee45b24722a97d3e38 (patch)
tree1b6e37923de1ecfdef260573d72eb677b57818eb /kimgio/jp2.cpp
parentf56dd14a9800ee2dc5b1357dfa15585555236f31 (diff)
downloadtdelibs-075aa0a11d5177d6bc646dee45b24722a97d3e38.tar.gz
tdelibs-075aa0a11d5177d6bc646dee45b24722a97d3e38.zip
kimgio: Enable STDC_LIMIT_MACROS for jasper
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d9ca16068027f45cd0e59b3bcb31be9650e0da5f)
Diffstat (limited to 'kimgio/jp2.cpp')
-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>