From: AntoinePrv Date: Mon, 14 Apr 2025 12:15:53 +0000 (+0200) Subject: add missing headers X-Git-Tag: 0.7.33~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69d0a1cd46f5fa47d0a80263db41cdb83a85817;p=thirdparty%2Flibsolv.git add missing headers --- 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);