summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-07-30 18:21:58 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 22:28:30 +0100
commitf65dc75bca71b50d91ac1cad8547e19ea5aec7b1 (patch)
treec911512069e1610fc3d11a8d96499403fd9c3b7c
parent02424237c8c8f43b5b578d0d5ad0b50c332be002 (diff)
downloadtdelibs-f65dc75bca71b50d91ac1cad8547e19ea5aec7b1.tar.gz
tdelibs-f65dc75bca71b50d91ac1cad8547e19ea5aec7b1.zip
fix FTBFS, error: ‘dup’ was not declared in this scope
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 88428d3b516e4fa5b7b76d5433542cea481bb6a8)
-rw-r--r--kimgio/jp2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 2be5253e3..8b621d678 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)