From ef897ee999d981ee08326cfcada6b3aec50a9a0f Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Thu, 27 Feb 2025 18:07:54 +0000 Subject: [PATCH] Moved include of io.h to windows branch --- src/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.c b/src/file.c index bd602ef2b..d38c5a251 100644 --- a/src/file.c +++ b/src/file.c @@ -14,7 +14,6 @@ #include <ctype.h> #include <errno.h> #include <fcntl.h> -#include <io.h> #include <limits.h> #include <stdbool.h> #include <stdio.h> @@ -26,6 +25,7 @@ // On Windows, define ssize_t manually #ifdef _WIN32 #define ssize_t __int64 +#include <io.h> #else #include <unistd.h> #endif -- GitLab