summaryrefslogtreecommitdiff
path: root/inputmethod/kimera-tomoe-gtk/patches/patch-aa
blob: 6155ee04b227813f9fb95e0605cd65e8fc2f6e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.1.1.1 2010/05/20 07:48:09 obache Exp $

locale.h is required for setlocale(3) and LC_ALL.

--- src/kimera-tomoe-gtk.c.orig	2007-04-08 15:05:33.000000000 +0000
+++ src/kimera-tomoe-gtk.c
@@ -25,6 +25,9 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h> 
 #endif /* HAVE_CONFIG_H */
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
 #include <gtk/gtk.h>
 #include <tomoe-gtk.h>
 #include "intl.h"