diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-04-06 20:41:06 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-04-06 23:56:47 +0200 |
commit | e57364cd979a9f57f08c023621b999eddd379a45 (patch) | |
tree | 39c6fac745f1b3e0d9bea62b7749322068f7886e /fiv-io.c | |
parent | 7330f07dd763237b2cf22ee23528cc55541428f0 (diff) | |
download | fiv-e57364cd979a9f57f08c023621b999eddd379a45.tar.gz fiv-e57364cd979a9f57f08c023621b999eddd379a45.tar.xz fiv-e57364cd979a9f57f08c023621b999eddd379a45.zip |
Fix openSUSE 15.5 and Win32 builds
Diffstat (limited to 'fiv-io.c')
-rw-r--r-- | fiv-io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,6 +61,9 @@ #ifdef HAVE_LIBTIFF #include <tiff.h> #include <tiffio.h> +#ifndef TIFF_TMSIZE_T_MAX +#define TIFF_TMSIZE_T_MAX ((tmsize_t) (SIZE_MAX >> 1)) +#endif #endif // HAVE_LIBTIFF #ifdef HAVE_GDKPIXBUF #include <gdk-pixbuf/gdk-pixbuf.h> |