From bb255838a6f47ba83a48a3fb5cffb90ecf26c05d Mon Sep 17 00:00:00 2001 From: Kugel Fuhr <98353208+kugelfuhr@users.noreply.github.com> Date: Tue, 8 Jul 2025 09:55:43 +0200 Subject: [PATCH] Fix include files for Windows (hopefully). --- src/common/consprop.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/common/consprop.c b/src/common/consprop.c index 9bf1d2a78..c45bb14a4 100644 --- a/src/common/consprop.c +++ b/src/common/consprop.c @@ -31,10 +31,12 @@ #include -#include -#ifdef _WIN32 -#include -#define isatty _isatty +#if !defined(WIN32) +# include +#else +# include +# include +# define isatty _isatty #endif /* common */