mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user