This patch adds "#include <driverspecs.h>" near the end of specstrings.h,
because the same is done in Microsoft's version of specstrings.h.  With
this patch, I am able to build Microsoft's devcon utility without
modification.  Thanks!

--David Grayson
From bbe97312dabdbd7200b337ad8f8232786ae77c4e Mon Sep 17 00:00:00 2001
From: David Grayson <[email protected]>
Date: Tue, 9 May 2017 09:15:29 -0700
Subject: [PATCH] specstrings.h:  Include driverspecs.h near the bottom.

That's what the Microsoft header does, and their devcon utility
depends on it.
---
 mingw-w64-headers/include/specstrings.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-headers/include/specstrings.h 
b/mingw-w64-headers/include/specstrings.h
index 485b4330..5c344445 100644
--- a/mingw-w64-headers/include/specstrings.h
+++ b/mingw-w64-headers/include/specstrings.h
@@ -325,6 +325,8 @@ extern "C" {
 #endif
 #endif /* DECLSPEC_ADDRSAFE */
 
+#include <driverspecs.h>
+
 #ifdef __cplusplus
 }
 #endif
-- 
2.12.1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to