From: Uwe Hermann Date: Wed, 2 Feb 2011 12:13:13 +0000 (+0100) Subject: MinGW: Build fixes. X-Git-Tag: libsigrok-0.1.0~350 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a9f54bcd7b83baf465e5096f604470cacb4951bf;p=libsigrok.git MinGW: Build fixes. --- 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