1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00

Fix build with libvips <8.15

This commit is contained in:
DarthSim 2023-11-13 20:32:36 +03:00
parent 16571e1360
commit 949c71dbf1

View File

@ -787,7 +787,9 @@ vips_strip(VipsImage *in, VipsImage **out, int keep_exif_copyright)
if (
(strcmp(name, VIPS_META_ICC_NAME) == 0) ||
#ifdef VIPS_META_BITS_PER_SAMPLE
(strcmp(name, VIPS_META_BITS_PER_SAMPLE) == 0) ||
#endif
(strcmp(name, VIPS_META_PALETTE_BITS_DEPTH) == 0) ||
(strcmp(name, "width") == 0) ||
(strcmp(name, "height") == 0) ||