aboutsummaryrefslogtreecommitdiff
path: root/ports/devicenameresolver/add-string-headfile.patch
diff options
context:
space:
mode:
authorCheney Wang <38240633+Cheney-W@users.noreply.github.com>2019-04-26 03:41:33 +0800
committerPhil Christensen <philc@microsoft.com>2019-04-25 12:41:33 -0700
commit41623d8e4e5d0d8618045f8d67e79bb620696649 (patch)
tree0022762281389a4470f27d9352c35293bb2ee203 /ports/devicenameresolver/add-string-headfile.patch
parent7aae74af08f32234f56675e9f9b9cad4213cdf5b (diff)
downloadvcpkg-41623d8e4e5d0d8618045f8d67e79bb620696649.tar.gz
vcpkg-41623d8e4e5d0d8618045f8d67e79bb620696649.zip
[devicenameresolver] Add missing <string> (#6207)
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)