From: Martin Ling Date: Fri, 6 Dec 2013 03:20:48 +0000 (+0000) Subject: scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo(). X-Git-Tag: libsigrok-0.3.0~469 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0f4a4350579604c874e1ad4b741f9b059f3585f3;p=libsigrok.git scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo(). --- diff --git a/hardware/common/scpi_tcp.c b/hardware/common/scpi_tcp.c index f12d1fa5..8f4ea21d 100644 --- a/hardware/common/scpi_tcp.c +++ b/hardware/common/scpi_tcp.c @@ -17,6 +17,8 @@ * along with this program. If not, see . */ +#define _WIN32_WINNT 0x0501 + #include "libsigrok.h" #include "libsigrok-internal.h"