From b3a8680a9082606463392b0515fb87c64c146cda Mon Sep 17 00:00:00 2001 From: gitlost Date: Thu, 18 Jul 2024 01:26:31 +0100 Subject: [PATCH] Fix previous commit [857021] - allow for ZINT_NO_PNG --- backend/tests/test_print.c | 2 ++ 1 file changed, 2 insertions(+) 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"