From: Martin Ling Date: Fri, 6 Dec 2013 01:14:55 +0000 (+0000) Subject: scpi_tcp: Fix building on Windows. X-Git-Tag: libsigrok-0.3.0~472 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=987a053084b521f3f2af7beb2da68a24a24da363;p=libsigrok.git scpi_tcp: Fix building on Windows. --- diff --git a/hardware/common/scpi_tcp.c b/hardware/common/scpi_tcp.c index 35119243..f12d1fa5 100644 --- a/hardware/common/scpi_tcp.c +++ b/hardware/common/scpi_tcp.c @@ -23,10 +23,15 @@ #include #include #include +#ifdef _WIN32 +#include +#include +#else #include #include #include #include +#endif #include /* Message logging helpers with subsystem-specific prefix string. */