[gtk+/gtk-2-24] gdk: Fix build of gdkkeyuni.c



commit 4db659552b3dacec2f563bfd784532dea1f5a702
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Sat Feb 27 20:20:32 2016 +0800

    gdk: Fix build of gdkkeyuni.c
    
    In commit 4bf5290, there isn't a prototype for
    _gdk_win32_keymap_get_decimal_mark(), causing a C4013 (implicit
    declaration of...) warning/error.  Fix that by including the right
    header for it.

 gdk/gdkkeyuni.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index 4a4af94..7cd8514 100644
--- a/gdk/gdkkeyuni.c
+++ b/gdk/gdkkeyuni.c
@@ -28,6 +28,10 @@
 #include "gdk.h"
 #include "gdkalias.h"
 
+#ifdef GDK_WINDOWING_WIN32
+#include "win32/gdkprivate-win32.h"
+#endif
+
 /* Thanks to Markus G. Kuhn <mkuhn acm org> for the ksysym<->Unicode
  * mapping functions, from the xterm sources.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]