From 28835733a2362be91cd66e758162adbac5058d78 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 21 Jan 2024 16:38:23 -0800 Subject: [PATCH] tests: Fix defaultvalue test on macOS Without these includes, the g_osx_app_info_get_type() in giotypefuncs.inc is missing a declaration. --- gio/tests/defaultvalue.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gio/tests/defaultvalue.c b/gio/tests/defaultvalue.c index f99f98b28..bbc8b3ee2 100644 --- a/gio/tests/defaultvalue.c +++ b/gio/tests/defaultvalue.c @@ -17,9 +17,15 @@ * along with this library; if not, see . */ +#include "config.h" + #include #include +#ifdef HAVE_COCOA +#include +#endif + static void check_property (const char *output, GParamSpec *pspec,