Fix previous commit [857021] - allow for ZINT_NO_PNG

This commit is contained in:
gitlost 2024-07-18 01:26:31 +01:00
parent 857021de84
commit b3a8680a90

View File

@ -30,7 +30,9 @@
/* SPDX-License-Identifier: BSD-3-Clause */ /* SPDX-License-Identifier: BSD-3-Clause */
#include "testcommon.h" #include "testcommon.h"
#ifndef ZINT_NO_PNG
#include <zlib.h> /* For ZLIBNG_VERSION define (if any) */ #include <zlib.h> /* For ZLIBNG_VERSION define (if any) */
#endif
#include <sys/stat.h> #include <sys/stat.h>
#define TEST_PRINT_OVERWRITE_EXPECTED "bmp,emf,eps,gif,pcx,png,svg,tif,txt" #define TEST_PRINT_OVERWRITE_EXPECTED "bmp,emf,eps,gif,pcx,png,svg,tif,txt"