From 9b88cf5ad925f3cc779a271910b4045e1a80252d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 8 Nov 2023 18:48:40 +0200 Subject: [PATCH] #ifdef _UNISTD_H -> HAVE_UNISTD_H --- src/libImaging/TiffDecode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libImaging/TiffDecode.c b/src/libImaging/TiffDecode.c index b75a32dd216..e3b81590ec2 100644 --- a/src/libImaging/TiffDecode.c +++ b/src/libImaging/TiffDecode.c @@ -12,12 +12,12 @@ #include "Imaging.h" -#ifndef _UNISTD_H +#ifdef HAVE_LIBTIFF + +#ifdef HAVE_UNISTD_H #include /* lseek */ #endif -#ifdef HAVE_LIBTIFF - #ifndef uint #define uint uint32 #endif