#include <sys/utime.h> when building with MSVC

This commit is contained in:
John Emmas 2023-09-27 09:36:26 +01:00
parent 0be8456d0d
commit ea8742b030
1 changed files with 3 additions and 1 deletions

View File

@ -26,9 +26,11 @@
#include <glib.h>
#include "pbd/gstdio_compat.h"
#ifdef COMPILER_MINGW
#if defined COMPILER_MINGW || defined COMPILER_MSVC
#if defined COMPILER_MINGW
#include <io.h> // For W_OK
#include <windows.h>
#endif
#include <sys/utime.h>
#else
#include <utime.h>