File missing-includes.patch of Package scim-canna

diff -ru scim-canna-1.0.0.orig/src/canna_jrkanji.cpp scim-canna-1.0.0/src/canna_jrkanji.cpp
--- scim-canna-1.0.0.orig/src/canna_jrkanji.cpp	2006-02-02 04:04:11.000000000 +0100
+++ scim-canna-1.0.0/src/canna_jrkanji.cpp	2007-11-08 17:10:04.000000000 +0100
@@ -24,6 +24,8 @@
   #include <config.h>
 #endif
 
+#include <string.h>
+
 #include "canna_jrkanji.h"
 #include "scim_canna_imengine.h"
 #include "scim_canna_imengine_factory.h"
diff -ru scim-canna-1.0.0.orig/src/scim_canna_imengine_setup.cpp scim-canna-1.0.0/src/scim_canna_imengine_setup.cpp
--- scim-canna-1.0.0.orig/src/scim_canna_imengine_setup.cpp	2006-02-08 07:01:15.000000000 +0100
+++ scim-canna-1.0.0/src/scim_canna_imengine_setup.cpp	2007-11-08 17:12:23.000000000 +0100
@@ -33,6 +33,7 @@
   #include <config.h>
 #endif
 
+#include <string.h>
 #include <scim.h>
 #include <gtk/scimkeyselection.h>
 #include "scim_canna_prefs.h"
openSUSE Build Service is sponsored by