summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-30 18:21:58 +0200
committerMichele Calgaro <[email protected]>2020-07-31 15:57:24 +0900
commit58a8336f9a77e82d05a6803e8c3fe9bb51c5e25a (patch)
treea124e28e55a94c57f18ac16c692b321cdf6d1e1e /kimgio
parentc3cea587b9361486a829f65694389b4ebfd053cb (diff)
downloadtdelibs-58a8336f9a77e82d05a6803e8c3fe9bb51c5e25a.tar.gz
tdelibs-58a8336f9a77e82d05a6803e8c3fe9bb51c5e25a.zip
fix FTBFS, error: ‘dup’ was not declared in this scope
Signed-off-by: gregory guy <[email protected]> (cherry picked from commit 88428d3b516e4fa5b7b76d5433542cea481bb6a8)
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/jp2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 9ae7d3a89..1f3f09c0a 100644
--- a/kimgio/jp2.cpp
+++ b/kimgio/jp2.cpp
@@ -2,7 +2,7 @@
#include "config.h"
#ifdef HAVE_JASPER
-
+#include <unistd.h>
#include "jp2.h"
#if !defined(__STDC_LIMIT_MACROS)