From 1adf7f6b2b004ef41780c934af85d3a9bb2f4ac6 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sat, 12 Feb 2022 16:43:08 +0000 Subject: [PATCH] Handle #1463 - add missing includes for windows --- mongoose.h | 2 ++ src/arch_win32.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mongoose.h b/mongoose.h index 8089bd8c..a6d288ae 100644 --- a/mongoose.h +++ b/mongoose.h @@ -342,6 +342,7 @@ struct timeval { #include #include #include +#include #include #include #include @@ -368,6 +369,7 @@ typedef enum { false = 0, true = 1 } bool; #include #endif +#include #include // Protect from calls like std::snprintf in app code diff --git a/src/arch_win32.h b/src/arch_win32.h index ea796a7b..deada3ec 100644 --- a/src/arch_win32.h +++ b/src/arch_win32.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -45,6 +46,7 @@ typedef enum { false = 0, true = 1 } bool; #include #endif +#include #include // Protect from calls like std::snprintf in app code