changeset 21:7a454839a6de default tip

add some missing header files
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 09 Mar 2010 19:02:39 +0900
parents 9a2fbf86b5c7
children
files cmd/kinput2.c lib/ConvCtrl.c lib/KIProto.c lib/XimpProto.c lib/ctext.c
diffstat 5 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmd/kinput2.c	Mon Mar 08 22:24:39 2010 +0900
+++ b/cmd/kinput2.c	Tue Mar 09 19:02:39 2010 +0900
@@ -25,6 +25,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <signal.h>
 #include <X11/Intrinsic.h>
 #include <X11/StringDefs.h>
--- a/lib/ConvCtrl.c	Mon Mar 08 22:24:39 2010 +0900
+++ b/lib/ConvCtrl.c	Tue Mar 09 19:02:39 2010 +0900
@@ -21,6 +21,7 @@
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
 #include <X11/Xmu/CharSet.h>
+#include <stdio.h>
 #include "ConvCtrlP.h"
 #include "InputConv.h"
 #include "ConvDisp.h"
--- a/lib/KIProto.c	Mon Mar 08 22:24:39 2010 +0900
+++ b/lib/KIProto.c	Tue Mar 09 19:02:39 2010 +0900
@@ -23,6 +23,7 @@
 #include <X11/Xatom.h>
 #include <X11/Xmu/Atoms.h>
 #include <X11/Xmu/CharSet.h>
+#include <stdio.h>
 #include "KIProtoP.h"
 #include "ConvMgr.h"
 #include "OverConv.h"
--- a/lib/XimpProto.c	Mon Mar 08 22:24:39 2010 +0900
+++ b/lib/XimpProto.c	Tue Mar 09 19:02:39 2010 +0900
@@ -28,6 +28,7 @@
 #include <X11/Xatom.h>
 #include <X11/Xmu/Atoms.h>
 #include <X11/Xmu/CharSet.h>
+#include <stdio.h>
 #include "XIMProto.h"
 #include "XimpProtoP.h"
 #include "ConvMgr.h"
--- a/lib/ctext.c	Mon Mar 08 22:24:39 2010 +0900
+++ b/lib/ctext.c	Tue Mar 09 19:02:39 2010 +0900
@@ -71,9 +71,9 @@
 static char *rcsid = "$Id: ctext.c,v 2.6 1999/03/10 08:55:15 ishisone Exp $";
 #endif
 
-typedef unsigned short	wchar;
+#include <string.h>
 
-#define NULL	0
+typedef unsigned short	wchar;
 
 #define CS96	0x100	/* 96chars CS */
 #define MBCS	0x200	/* Multibyte CS */