Add MSVC specific include for io.h

Fixes the following errors when building:
read': identifier not found (Originally lines 562 and 572, now 566 and 576)
'close': identifier not found (Originally line 574, now line 578)
This commit is contained in:
EZ4Stephen 2025-12-02 20:31:01 +04:00 committed by GitHub
parent edd526d94b
commit cae50f5de6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,10 @@
#include <fcntl.h>
#include <sys/stat.h>
#ifdef COMPILER_MSVC
#include <io.h>
#endif
#include <glib.h>
#include "pbd/gstdio_compat.h"
#include <glibmm.h>