From b69d0a1cd46f5fa47d0a80263db41cdb83a85817 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Mon, 14 Apr 2025 14:15:53 +0200 Subject: [PATCH] add missing headers --- ext/solv_xfopen.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ext/solv_xfopen.h b/ext/solv_xfopen.h index b79e0093..24b68252 100644 --- a/ext/solv_xfopen.h +++ b/ext/solv_xfopen.h @@ -8,6 +8,15 @@ #ifndef SOLV_XFOPEN_H #define SOLV_XFOPEN_H +#include + +#ifdef _WIN32 + #include + typedef SSIZE_T ssize_t; +#else + #include +#endif + extern FILE *solv_xfopen(const char *fn, const char *mode); extern FILE *solv_xfopen_fd(const char *fn, int fd, const char *mode); extern FILE *solv_xfopen_buf(const char *fn, char **bufp, size_t *buflp, const char *mode); -- 2.47.2