uim/missing-header.patch

25 lines
736 B
Diff

diff -ru uim-1.2.1.orig/xim/locale.cpp uim-1.2.1/xim/locale.cpp
--- uim-1.2.1.orig/xim/locale.cpp 2006-08-14 06:27:37.000000000 +0200
+++ uim-1.2.1/xim/locale.cpp 2008-01-11 22:36:04.000000000 +0100
@@ -37,6 +37,8 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <locale.h>
#include <iconv.h>
#include <errno.h>
uim-1.2.1/ximだけに発見: locale.cpp~
diff -ru uim-1.2.1.orig/xim/ximserver.cpp uim-1.2.1/xim/ximserver.cpp
--- uim-1.2.1.orig/xim/ximserver.cpp 2006-08-14 06:27:37.000000000 +0200
+++ uim-1.2.1/xim/ximserver.cpp 2008-01-11 22:28:06.000000000 +0100
@@ -35,6 +35,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#include <locale.h>
#include <X11/Xlib.h>