From 1125b1f545e129330ef785f17ae909d95ee312df Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 15 Mar 2022 10:10:08 +0000 Subject: [PATCH] Fix #1490 - add winerror.h to fix old mingw build --- mongoose.h | 1 + src/arch_win32.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mongoose.h b/mongoose.h index a33eb424..e716cd51 100644 --- a/mongoose.h +++ b/mongoose.h @@ -371,6 +371,7 @@ typedef enum { false = 0, true = 1 } bool; #endif #include +#include #include // Protect from calls like std::snprintf in app code diff --git a/src/arch_win32.h b/src/arch_win32.h index deada3ec..2616156a 100644 --- a/src/arch_win32.h +++ b/src/arch_win32.h @@ -47,6 +47,7 @@ typedef enum { false = 0, true = 1 } bool; #endif #include +#include #include // Protect from calls like std::snprintf in app code