From 540c0549d8cd818b72515db3dd81dd91ac76166d Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 19 Aug 2026 08:00:15 -0400 Subject: [PATCH] follow-up: MSYS2 build fix --- include/windconf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/windconf.h b/include/windconf.h index 792df39cf..415bb31ef 100644 --- a/include/windconf.h +++ b/include/windconf.h @@ -108,7 +108,6 @@ extern char *windows_exepath(void); */ #ifdef __GNUC__ -#include #define MD_USE_TMPFILE_S # #ifdef strncasecmp @@ -164,7 +163,7 @@ typedef SSIZE_T ssize_t; #endif /* _MSC_VER */ /* The following is needed for prototypes of certain functions */ -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__GNUC__) #include /* Provides prototypes of exit(), spawn() */ #endif