mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
tests/: Include unistd.h on *NIX only
https://bugzilla.gnome.org/show_bug.cgi?id=711047
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
*/
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef G_OS_UNIX
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define N_THREADS 8
|
||||
#define N_ALLOCS 50000
|
||||
|
Reference in New Issue
Block a user