From 1f1ffec6d746be15cb9b54b1d2bfbc9446b8607b Mon Sep 17 00:00:00 2001 From: Kody Stribrny Date: Wed, 4 Mar 2026 09:40:03 -0800 Subject: [PATCH] Fix windows header inclusion WIN32_LEAN_AND_MEAN strips many header inclusions from windows.h to speed up build times. It appears to strip windef.h which is needed for FALSE/TRUE. --- .../portable/NetworkInterface/libslirp/MBuffNetworkInterface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/portable/NetworkInterface/libslirp/MBuffNetworkInterface.c b/source/portable/NetworkInterface/libslirp/MBuffNetworkInterface.c index 0109021da..1bb717fb0 100644 --- a/source/portable/NetworkInterface/libslirp/MBuffNetworkInterface.c +++ b/source/portable/NetworkInterface/libslirp/MBuffNetworkInterface.c @@ -29,6 +29,8 @@ #if defined( _WIN32 ) #include + /* Required when compiling with WIN32_LEAN_AND_MEAN as it strips this header which defines TRUE/FALSE */ + #include #endif /* FreeRTOS includes. */