Merge branch 'wip/pwithnall/macos-symlink' into 'main'

tests: Fix compilation failure on macOS due to missing include

See merge request GNOME/glib!4094
This commit is contained in:
Simon McVittie 2024-05-24 09:38:08 +00:00
commit 2032d150b0

View File

@ -23,6 +23,10 @@
#include <glib/glib.h>
#include <glib/gstdio.h>
#ifdef G_OS_UNIX
#include <unistd.h>
#endif
/* Test that all of the well-known directories returned by GLib
* are returned as children of test_tmpdir when running with
* %G_TEST_OPTION_ISOLATE_DIRS. This ensures that tests should