From 010129d30602eb55919a69b2764e411fe98f328a Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Thu, 27 Feb 2025 18:09:37 +0000 Subject: [PATCH] Moved include of io.h to windows branch --- src/input_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_file.c b/src/input_file.c index 4c920efa2..11df000c9 100644 --- a/src/input_file.c +++ b/src/input_file.c @@ -18,13 +18,13 @@ #include <errno.h> #include <fcntl.h> -#include <io.h> #include <string.h> // On Windows, define ssize_t and pread manually #ifdef _WIN32 #define ssize_t __int64 #define pread read +#include <io.h> #else #include <unistd.h> #endif -- GitLab