Skip to content

Commit 9b88cf5

Browse files
committed
#ifdef _UNISTD_H -> HAVE_UNISTD_H
1 parent 95eef25 commit 9b88cf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libImaging/TiffDecode.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
#include "Imaging.h"
1414

15-
#ifndef _UNISTD_H
15+
#ifdef HAVE_LIBTIFF
16+
17+
#ifdef HAVE_UNISTD_H
1618
#include <unistd.h> /* lseek */
1719
#endif
1820

19-
#ifdef HAVE_LIBTIFF
20-
2121
#ifndef uint
2222
#define uint uint32
2323
#endif

0 commit comments

Comments
 (0)