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

unbreak with protobuf 3.7+

Index: src/mumble/MainWindow.cpp
--- src/mumble/MainWindow.cpp.orig
+++ src/mumble/MainWindow.cpp
@@ -46,7 +46,6 @@
 #include "Connection.h"
 #include "ConnectDialog.h"
 #include "Database.h"
-#include "Global.h"
 #include "GlobalShortcut.h"
 #include "Log.h"
 #include "Net.h"
@@ -74,6 +73,9 @@
 #ifdef QT_MAC_USE_COCOA
 #include "ConfigDialog_macx.h"
 #endif
+
+// 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"
 
 /*!
   \fn void MainWindow::findDesiredChannel()
