summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch')
-rw-r--r--app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
new file mode 100644
index 000000000000..f1cb4d574624
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
@@ -0,0 +1,20 @@
+--- a/src/handrecog_lucykila.c
++++ b/src/handrecog_lucykila.c
+@@ -14,6 +14,7 @@
+ #include <sys/fcntl.h>
+ #include <sys/mman.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <glib.h>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -3,6 +3,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <ibus.h>
+ #include <locale.h>
+ #include <gtk/gtkgl.h>