aboutsummaryrefslogtreecommitdiff
path: root/ports/devicenameresolver/add-string-headfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/devicenameresolver/add-string-headfile.patch')
-rw-r--r--ports/devicenameresolver/add-string-headfile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/devicenameresolver/add-string-headfile.patch b/ports/devicenameresolver/add-string-headfile.patch
new file mode 100644
index 000000000..da78f227b
--- /dev/null
+++ b/ports/devicenameresolver/add-string-headfile.patch
@@ -0,0 +1,12 @@
+diff --git a/NativeWinApi.h b/NativeWinApi.h
+index 63fced1..582306b 100644
+--- a/NativeWinApi.h
++++ b/NativeWinApi.h
+@@ -1,6 +1,7 @@
+ #pragma once
+
+ #include <windows.h>
++#include <string>
+
+ #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L)
+ #define STATUS_SUCCESS ((NTSTATUS)0x00000000L)