From 1db219b3d8bfd837d44785b0d6ed1fb0ed10e161 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 10 Dec 2020 20:21:18 +0100 Subject: [PATCH] Fix compilation with mingw/gcc-8 --- libs/pbd/pbd/win_console.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/pbd/pbd/win_console.h b/libs/pbd/pbd/win_console.h index 4486163fb3..4b7fdf178d 100644 --- a/libs/pbd/pbd/win_console.h +++ b/libs/pbd/pbd/win_console.h @@ -1,6 +1,7 @@ /* STATIC FUNCTIONS -- INCLUDE DIRECTLY BEFORE main () */ #if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS) +#include static FILE* pStdOut = 0; static FILE* pStdErr = 0;