test/libmpv_test_track_selection: fix compilation with Windows SDK

This commit is contained in:
Kacper Michajłow committed 2025-04-01 21:27:45 +02:00
1 parent 5870c95e89
commit 06a983ef2f
1 file changed
+7 -2
+7 -2
View File
@@ -15,18 +15,23 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <unistd.h>
#ifdef __APPLE__
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifdef _WIN32
#include <io.h>
#include <windows.h>
#else
#include <unistd.h>
#endif
#include "libmpv_common.h"
#ifndef F_OK
#define F_OK 0
#endif
static bool have_english_locale(void)
{
#ifdef __APPLE__