aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/patches/hidapi/missing_win_include.patch
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-11-26 22:59:27 -0600
committerluigi1111 <luigi1111w@gmail.com>2021-11-26 22:59:27 -0600
commit41d6db105d452a40e885f162170d94fd4ac2b409 (patch)
treebf21094667de60c820c50d063efc285f61fd9718 /contrib/depends/patches/hidapi/missing_win_include.patch
parentMerge pull request #8048 (diff)
parentdepends: bump hidapi to 0.11.0 (diff)
downloadmonero-41d6db105d452a40e885f162170d94fd4ac2b409.tar.xz
Merge pull request #8055
a30928f depends: bump hidapi to 0.11.0 (selsta)
Diffstat (limited to 'contrib/depends/patches/hidapi/missing_win_include.patch')
-rw-r--r--contrib/depends/patches/hidapi/missing_win_include.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/depends/patches/hidapi/missing_win_include.patch b/contrib/depends/patches/hidapi/missing_win_include.patch
new file mode 100644
index 000000000..5bbe82def
--- /dev/null
+++ b/contrib/depends/patches/hidapi/missing_win_include.patch
@@ -0,0 +1,21 @@
+From a77b066311da42ed7654e39c0356a3b951b2e296 Mon Sep 17 00:00:00 2001
+From: selsta <selsta@sent.at>
+Date: Wed, 10 Nov 2021 02:28:54 +0100
+Subject: [PATCH] windows: add missing include for mingw32
+
+---
+ windows/hid.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/windows/hid.c b/windows/hid.c
+index 24756a4..6d8394c 100644
+--- a/windows/hid.c
++++ b/windows/hid.c
+@@ -33,6 +33,7 @@ typedef LONG NTSTATUS;
+ #endif
+
+ #ifdef __MINGW32__
++#include <devpropdef.h>
+ #include <ntdef.h>
+ #include <winbase.h>
+ #endif