From 0f4a4350579604c874e1ad4b741f9b059f3585f3 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Fri, 6 Dec 2013 03:20:48 +0000 Subject: [PATCH] scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo(). --- hardware/common/scpi_tcp.c | 2 ++ 1 file changed, 2 insertions(+) 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"