From 752ce6dd5a4b8667a9aaf5d3e78fbc39bc2217df Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 29 Nov 2018 15:10:29 +0100 Subject: [PATCH] [tests] [win] include io.h for _access() --- tests/utils_tests.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/utils_tests.h b/tests/utils_tests.h index e272c2ad..79153251 100644 --- a/tests/utils_tests.h +++ b/tests/utils_tests.h @@ -20,6 +20,10 @@ #define PATH_MAX 1024 #endif +#if defined(HAVE_WIN_HACKS) && !defined(__GNUC__) +#include // _access +#endif + // This macro is used to pass a string to msvc compiler: since msvc's -D flag // strips the quotes, we define the string without quotes and re-add them with // this macro. -- 2.11.0