From a9f54bcd7b83baf465e5096f604470cacb4951bf Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 2 Feb 2011 13:13:13 +0100 Subject: [PATCH] MinGW: Build fixes. --- hardware/common/serial.c | 2 +- hardware/openbench-logic-sniffer/ols.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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