diff --git a/libImaging/TiffDecode.h b/libImaging/TiffDecode.h index 90fe3c9d4..70aa63628 100644 --- a/libImaging/TiffDecode.h +++ b/libImaging/TiffDecode.h @@ -13,11 +13,12 @@ #include #endif -#ifndef _UNISTD_H -#include +#ifndef _MSC_VER + #ifndef _UNISTD_H + #include + #endif #endif - #ifndef min #define min(x,y) (( x > y ) ? y : x ) #define max(x,y) (( x < y ) ? y : x )