summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-07-30 18:21:58 +0200
committergregory guy <gregory-tde@laposte.net>2020-07-30 18:21:58 +0200
commit88428d3b516e4fa5b7b76d5433542cea481bb6a8 (patch)
treec81b86853a31bb09a9dcd0fc5eea81ce7d352f31
parent264e67cd50706015fb182b77575de49435fe50fe (diff)
downloadtdelibs-88428d3b516e4fa5b7b76d5433542cea481bb6a8.tar.gz
tdelibs-88428d3b516e4fa5b7b76d5433542cea481bb6a8.zip
fix FTBFS, error: ‘dup’ was not declared in this scope
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-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)