[tests] [win] include io.h for _access()
[aubio.git] / tests / utils_tests.h
index e272c2a..7915325 100644 (file)
 #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.