ref: 752ce6dd5a4b8667a9aaf5d3e78fbc39bc2217df
parent: 586383d59c850b76eda3bfcc73b0734126bc6f4d
author: Paul Brossier <piem@piem.org>
date: Thu Nov 29 10:10:29 EST 2018
[tests] [win] include io.h for _access()
--- 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 <io.h> // _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.