summaryrefslogtreecommitdiffstats
path: root/kimgio/jp2.cpp
diff options
context:
space:
mode:
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>