mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fix for Python 3.13: explicitly include unistd.h
This commit is contained in:
parent
dcc66597f0
commit
95eef25aca
|
@ -12,6 +12,10 @@
|
|||
|
||||
#include "Imaging.h"
|
||||
|
||||
#ifndef _UNISTD_H
|
||||
#include <unistd.h> /* lseek */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBTIFF
|
||||
|
||||
#ifndef uint
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
#include <tiff.h>
|
||||
#endif
|
||||
|
||||
/* UNDONE -- what are we using from this? */
|
||||
/*#ifndef _UNISTD_H
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
*/
|
||||
|
||||
#ifndef min
|
||||
#define min(x, y) ((x > y) ? y : x)
|
||||
#define max(x, y) ((x < y) ? y : x)
|
||||
|
|
Loading…
Reference in New Issue
Block a user