1 parent a758717 commit 13fbc26Copy full SHA for 13fbc26
2 files changed
windows/hid.c
@@ -30,6 +30,11 @@
30
extern "C" {
31
#endif
32
33
+#ifndef WIN32_LEAN_AND_MEAN
34
+/* Reduces the overhead from windows.h */
35
+#define WIN32_LEAN_AND_MEAN
36
+#endif
37
+
38
#include "hidapi_winapi.h"
39
40
#include <windows.h>
windows/hidapi_cfgmgr32.h
@@ -32,6 +32,7 @@
/* This part of the header mimics cfgmgr32.h,
but only what is used by HIDAPI */
+#include <ole2.h>
#include <initguid.h>
#include <devpropdef.h>
#include <propkeydef.h>
0 commit comments