1
0
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:
Philip Withnall
2025-04-04 13:13:50 +01:00
parent 148c1ed891
commit 198285bda8

@@ -26,6 +26,8 @@
#ifdef G_OS_WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
/* GScanner fixture */