tests: Add missing #includes to array-test

These are needed to get `SIZE_WIDTH` from libc. The tests which used
`SIZE_WIDTH` were previously effectively dead code. Spotted by
`-Wundef`.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall
2025-04-10 12:26:21 +01:00
parent 0ac20789d6
commit 23ac6d7d9c

View File

@@ -26,6 +26,8 @@
#undef G_DISABLE_ASSERT
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>