]> sigrok.org Git - libsigrok.git/commitdiff
src/backend.c: Add missing winsock2.h #include.
authorUwe Hermann <redacted>
Sat, 2 Jan 2016 23:39:44 +0000 (00:39 +0100)
committerUwe Hermann <redacted>
Sat, 2 Jan 2016 23:39:44 +0000 (00:39 +0100)
src/backend.c

index c441708859b21dc6d337a23bfd38c9a69ee6c230..aa51a92d480636d932687cb474f9bffbe9d654d8 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <config.h>
 #include <glib.h>
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
 #include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"