Fix openSUSE 15.5 and Win32 builds

This commit is contained in:
2024-04-06 20:41:06 +02:00
parent 7330f07dd7
commit e57364cd97
5 changed files with 19 additions and 9 deletions

View File

@@ -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>