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:
parent
653cef3ab1
commit
d179da05c0
@ -32,11 +32,14 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include <initguid.h>
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
#include <setupapi.h>
|
#include <setupapi.h>
|
||||||
#include <cfgmgr32.h>
|
#include <cfgmgr32.h>
|
||||||
#include <usbioctl.h>
|
#include <usbioctl.h>
|
||||||
|
#include <usbiodef.h>
|
||||||
#else
|
#else
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user