headers/debugapi: add WaitForDebugEventEx for Win10 only

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/debugapi.h b/mingw-w64-headers/include/debugapi.h
index 107bb74..844b645 100644
--- a/mingw-w64-headers/include/debugapi.h
+++ b/mingw-w64-headers/include/debugapi.h
@@ -26,6 +26,9 @@
 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
   WINBASEAPI WINBOOL APIENTRY WaitForDebugEvent (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds);
+#if WINVER >= _WIN32_WINNT_WIN10
+  WINBASEAPI WINBOOL APIENTRY WaitForDebugEventEx (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds);
+#endif
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcess (DWORD dwProcessId);
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcessStop (DWORD dwProcessId);
   WINBASEAPI WINBOOL WINAPI CheckRemoteDebuggerPresent (HANDLE hProcess, PBOOL pbDebuggerPresent);