Control: tags -1 patch fixed-upstream

The relevant part of the upstream commit that fixes the FTBFS
with gcc 7 is attached.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

>From 15b4df3b2b021e9fa08f179316c4945ea0125e7a Mon Sep 17 00:00:00 2001
From: waddlesplash <waddlespl...@gmail.com>
Date: Thu, 16 Mar 2017 15:33:30 -0400
Subject: Fix the build on MSVC.

Index: mgba-0.5.2+dfsg1/src/platform/qt/GameController.h
===================================================================
--- mgba-0.5.2+dfsg1.orig/src/platform/qt/GameController.h
+++ mgba-0.5.2+dfsg1/src/platform/qt/GameController.h
@@ -14,6 +14,7 @@
 #include <QTimer>
 
 #include <memory>
+#include <functional>
 
 extern "C" {
 #include "core/core.h"

Reply via email to