mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-26 03:47:52 +02:00
tests: Add missing unistd.h include to scannerapi.c
This should fix compile errors on macOS, which couldn’t find the
`write()`, `lseek()`, etc. functions added in commit
020e58bac5
.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GScanner fixture */
|
/* GScanner fixture */
|
||||||
|
Reference in New Issue
Block a user