Skip to content

Commit ef9d3e6

Browse files
authored
Added missing #include <io.h> for Windows. (#747)
Details: - This commit fixes issue #746, in which the _access() function (called from within blastest/f2c/open.c) is undeclared when compiling on Windows with clang 16.
1 parent 6fd9aab commit ef9d3e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blastest/f2c/open.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ use or performance of this software.
2828
#include <unistd.h>
2929
#endif
3030
#ifdef _MSC_VER
31+
#include <io.h>
3132
#define access _access
3233
#endif
3334
#include "f2c.h"

0 commit comments

Comments
 (0)