From 1908c41f36880b9b8f55c0abb25d3d80700b2193 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 10 Feb 2016 23:22:58 -0800 Subject: [PATCH] Fix linking with gdk_mir_* functions gdkmir.h header is missing extern "C" wrapper as of GTK+ 3.18.7 --- src/gtk/toplevel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index f1bf11e450..8123d7a5f8 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -43,7 +43,9 @@ #define HAS_CLIENT_DECOR #endif #ifdef GDK_WINDOWING_MIR + extern "C" { #include + } #define HAS_CLIENT_DECOR #endif #ifdef GDK_WINDOWING_BROADWAY