X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=hardware%2Fcommon%2Fscpi_tcp.c;h=8f4ea21dcdac8a844547c89dc6f68121e9d95b29;hb=bb9d6116f828c4790334d98c65414dcef660d169;hp=35119243c993a9bb2cab6a17c3aab8d251230798;hpb=b8705e99e45224941d43f10438d69726d8f2d85b;p=libsigrok.git
diff --git a/hardware/common/scpi_tcp.c b/hardware/common/scpi_tcp.c
index 35119243..8f4ea21d 100644
--- a/hardware/common/scpi_tcp.c
+++ b/hardware/common/scpi_tcp.c
@@ -17,16 +17,23 @@
* along with this program. If not, see .
*/
+#define _WIN32_WINNT 0x0501
+
#include "libsigrok.h"
#include "libsigrok-internal.h"
#include
#include
#include
+#ifdef _WIN32
+#include
+#include
+#else
#include
#include
#include
#include
+#endif
#include
/* Message logging helpers with subsystem-specific prefix string. */