mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
tests: Fix compilation failure on macOS due to missing include
It’s needed for the `symlink()` function. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
60845fce0a
commit
6187d40a0f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user