diff --git a/backend/tests/test_print.c b/backend/tests/test_print.c index 85fbbe1d..42c9e17c 100644 --- a/backend/tests/test_print.c +++ b/backend/tests/test_print.c @@ -30,7 +30,9 @@ /* SPDX-License-Identifier: BSD-3-Clause */ #include "testcommon.h" +#ifndef ZINT_NO_PNG #include /* For ZLIBNG_VERSION define (if any) */ +#endif #include #define TEST_PRINT_OVERWRITE_EXPECTED "bmp,emf,eps,gif,pcx,png,svg,tif,txt"