diff --git a/hardware/common/serial.c b/hardware/common/serial.c index f6efe3e2..5205c188 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -23,7 +23,7 @@ #include #include #ifdef _WIN32 -#include +#include #else #include #include diff --git a/hardware/openbench-logic-sniffer/ols.c b/hardware/openbench-logic-sniffer/ols.c index 9ebd6b09..dd1fbdb2 100644 --- a/hardware/openbench-logic-sniffer/ols.c +++ b/hardware/openbench-logic-sniffer/ols.c @@ -24,7 +24,9 @@ #include #include #include -#ifndef _WIN32 +#ifdef _WIN32 +#include +#else #include #endif #include