$OpenBSD: patch-src_mumble_WASAPINotificationClient_cpp,v 1.1 2019/08/05 17:42:40 sthen Exp $

unbreak with protobuf 3.7+

Index: src/mumble/WASAPINotificationClient.cpp
--- src/mumble/WASAPINotificationClient.cpp.orig
+++ src/mumble/WASAPINotificationClient.cpp
@@ -29,12 +29,14 @@
 */
 
 #include <initguid.h>
-#include <Global.h>
 #include <QMutexLocker>
 #include "MainWindow.h"
 #include <boost/thread/once.hpp>
 
 #include "WASAPINotificationClient.h"
+
+// We define a global macro called 'g'. This can lead to issues when included code uses 'g' as a type or parameter name (like protobuf 3.7 does). As such, for now, we have to make this our last include.
+#include "Global.h"
 
 HRESULT STDMETHODCALLTYPE WASAPINotificationClient::OnDefaultDeviceChanged(EDataFlow flow, ERole role, LPCWSTR pwstrDefaultDevice) {
 	const QString device = QString::fromWCharArray(pwstrDefaultDevice);
