diff -Nurd pngcrush-1.8.13.orig/pngcrush.c pngcrush-1.8.13/pngcrush.c
--- pngcrush-1.8.13.orig/pngcrush.c	2017-08-21 18:28:52.000000000 -0400
+++ pngcrush-1.8.13/pngcrush.c	2025-01-28 02:48:59.000000000 -0500
@@ -5520,8 +5520,10 @@
                      * they were already checked in the pngcrush_measure_idat
                      * function
                      */
+# ifdef PNG_IGNORE_ADLER32
                     png_set_option(read_ptr, PNG_IGNORE_ADLER32,
                         PNG_OPTION_ON);
+# endif
                     png_set_crc_action(read_ptr, PNG_CRC_QUIET_USE,
                                        PNG_CRC_QUIET_USE);
                 }