1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

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.
This commit is contained in:
Michael B. Trausch 2014-09-06 20:23:16 -04:00 committed by Uwe Hermann
parent 653cef3ab1
commit d179da05c0

View File

@ -32,11 +32,14 @@
#include <stdio.h>
#include <stdarg.h>
#ifdef _WIN32
#include <initguid.h>
#include <windows.h>
#include <tchar.h>
#include <setupapi.h>
#include <cfgmgr32.h>
#include <usbioctl.h>
#include <usbiodef.h>
#else
#include <limits.h>
#include <termios.h>