From fcc1d26b5caa091185e7238434d06dc00230dd67 Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 28 Nov 2003 08:16:25 +0000 Subject: missing include git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/convert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/convert.c') diff --git a/mbbsd/convert.c b/mbbsd/convert.c index 6e620e23..133c249d 100644 --- a/mbbsd/convert.c +++ b/mbbsd/convert.c @@ -1,4 +1,5 @@ /* $Id: convert.c 1374 2003-11-27 14:11:40Z victor $ */ +#include "bbs.h" /* * The following code is copied and modified from "autoconvert" with GPL. */ @@ -55,7 +56,7 @@ static void b2g(char *s) s[0] = BtoG_bad1; s[1] = BtoG_bad2; } -signed char *gb2big(unsigned char *s, int plen) +unsigned char *gb2big(unsigned char *s, int plen) { unsigned char c = 0; return hzconvert(s, &plen, &c, g2b); -- cgit v1.2.3