Unconditionaly include <stdio.h>

In `debug_print_escape`, `sprintf` is used invariant of `ZINT_TEST`
being defined or not, therefore the definition for `sprintf` also
has to be imported invariant of `ZINT_TEST`
This commit is contained in:
Schaich, Alonso 2023-12-01 07:52:12 +09:00
parent 888db0bf00
commit 5e0458cb65

View File

@ -31,9 +31,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */ /* SPDX-License-Identifier: BSD-3-Clause */
#include <assert.h> #include <assert.h>
#ifdef ZINT_TEST
#include <stdio.h> #include <stdio.h>
#endif
#include "common.h" #include "common.h"
/* Converts a character 0-9, A-F to its equivalent integer value */ /* Converts a character 0-9, A-F to its equivalent integer value */