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:
Philip Withnall 2025-04-04 13:13:50 +01:00
parent 148c1ed891
commit 198285bda8
No known key found for this signature in database
GPG Key ID: C5C42CFB268637CA

View File

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