From: Michael B. Trausch Date: Sun, 7 Sep 2014 00:23:16 +0000 (-0400) Subject: windows: Include proper GUID defining header to fix build. X-Git-Tag: libserialport-0.1.1~101 X-Git-Url: https://sigrok.org/gitweb/?p=libserialport.git;a=commitdiff_plain;h=d179da05c028e30c5323b318e6f171d68f3a38ce windows: Include proper GUID defining header to fix build. The initguid.h header must appear early or it does not have an effect, at least on cross-build from Linux. --- diff --git a/libserialport_internal.h b/libserialport_internal.h index 9d582f8..031ffef 100644 --- a/libserialport_internal.h +++ b/libserialport_internal.h @@ -32,11 +32,14 @@ #include #include #ifdef _WIN32 +#include + #include #include #include #include #include +#include #else #include #include