diff options
Diffstat (limited to 'libtiff/tiffiop.h')
-rw-r--r-- | libtiff/tiffiop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h index fe677071..791881a3 100644 --- a/libtiff/tiffiop.h +++ b/libtiff/tiffiop.h @@ -51,6 +51,8 @@ #include "tif_dir.h" +#include <limits.h> + #ifndef STRIP_SIZE_DEFAULT #define STRIP_SIZE_DEFAULT 8192 #endif @@ -59,6 +61,8 @@ #define TIFF_MAX_DIR_COUNT 1048576 #endif +#define TIFF_NON_EXISTENT_DIR_NUMBER UINT_MAX + #define streq(a, b) (strcmp(a, b) == 0) #define strneq(a, b, n) (strncmp(a, b, n) == 0) |