mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-23 20:54:51 +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 020e58bac53e2d06e27cb1ab85d488e743abe9b4. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
148c1ed891
commit
198285bda8
@ -26,6 +26,8 @@
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* GScanner fixture */
|
||||
|
Loading…
x
Reference in New Issue
Block a user