From: Paul Brossier Date: Thu, 29 Nov 2018 14:10:29 +0000 (+0100) Subject: [tests] [win] include io.h for _access() X-Git-Tag: 0.4.9~139^2~18 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=752ce6dd5a4b8667a9aaf5d3e78fbc39bc2217df;ds=sidebyside [tests] [win] include io.h for _access() --- 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.