diff lib/ctext.c @ 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 5a32b68b627d
children
line wrap: on
line diff
--- 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 */