diff --git a/userspace/falco/app/actions/print_page_size.cpp b/userspace/falco/app/actions/print_page_size.cpp index df84ce6ac02..045109815cb 100644 --- a/userspace/falco/app/actions/print_page_size.cpp +++ b/userspace/falco/app/actions/print_page_size.cpp @@ -16,6 +16,10 @@ limitations under the License. */ #include "actions.h" +#ifdef _WIN32 +#define WIN32_MEAN_AND_LEAN +#define +#endif using namespace falco::app; using namespace falco::app::actions; diff --git a/userspace/falco/app/actions/print_support.cpp b/userspace/falco/app/actions/print_support.cpp index 698ba4e78fe..1cc58c12466 100644 --- a/userspace/falco/app/actions/print_support.cpp +++ b/userspace/falco/app/actions/print_support.cpp @@ -17,6 +17,9 @@ limitations under the License. #ifndef _WIN32 #include +#else +#define WIN32_MEAN_AND_LEAN +#define #endif #include