File missing-includes.patch of Package scim-anthy

diff -ru scim-anthy-1.2.4.orig/src/scim_anthy_kana.cpp scim-anthy-1.2.4/src/scim_anthy_kana.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_kana.cpp	2006-07-13 09:41:51.000000000 +0200
+++ scim-anthy-1.2.4/src/scim_anthy_kana.cpp	2007-11-07 17:08:37.000000000 +0100
@@ -17,6 +17,8 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <string.h>
+
 #include "scim_anthy_kana.h"
 #include "scim_anthy_factory.h"
 #include "scim_anthy_imengine.h"
diff -ru scim-anthy-1.2.4.orig/src/scim_anthy_preedit.cpp scim-anthy-1.2.4/src/scim_anthy_preedit.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_preedit.cpp	2006-07-24 03:56:00.000000000 +0200
+++ scim-anthy-1.2.4/src/scim_anthy_preedit.cpp	2007-11-07 16:55:41.000000000 +0100
@@ -21,6 +21,8 @@
   #include <config.h>
 #endif
 
+#include <string.h>
+
 #include "scim_anthy_factory.h"
 #include "scim_anthy_imengine.h"
 #include "scim_anthy_preedit.h"
diff -ru scim-anthy-1.2.4.orig/src/scim_anthy_prefs.cpp scim-anthy-1.2.4/src/scim_anthy_prefs.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_prefs.cpp	2006-07-24 03:56:00.000000000 +0200
+++ scim-anthy-1.2.4/src/scim_anthy_prefs.cpp	2007-11-07 17:50:12.000000000 +0100
@@ -19,6 +19,7 @@
  */
 
 #define SCIM_ANTHY_USE_GTK
+#include <string.h>
 #include <scim.h>
 #include "scim_anthy_prefs.h"
 #include "scim_anthy_intl.h"
diff -ru scim-anthy-1.2.4.orig/src/scim_anthy_setup.cpp scim-anthy-1.2.4/src/scim_anthy_setup.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_setup.cpp	2007-05-21 10:22:20.000000000 +0200
+++ scim-anthy-1.2.4/src/scim_anthy_setup.cpp	2007-11-07 17:27:38.000000000 +0100
@@ -27,6 +27,7 @@
   #include <config.h>
 #endif
 
+#include <string.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
diff -ru scim-anthy-1.2.4.orig/src/scim_anthy_utils.cpp scim-anthy-1.2.4/src/scim_anthy_utils.cpp
--- scim-anthy-1.2.4.orig/src/scim_anthy_utils.cpp	2007-03-28 09:42:10.000000000 +0200
+++ scim-anthy-1.2.4/src/scim_anthy_utils.cpp	2007-11-07 17:21:26.000000000 +0100
@@ -20,6 +20,7 @@
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "scim_anthy_utils.h"
 #include "scim_anthy_default_tables.h"
openSUSE Build Service is sponsored by