From 7735530b59dfd7ee9a1cfce92572d46a8ae8aca9 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 10 Aug 2008 19:17:41 +0000 Subject: Build fixes for DJGPP. * signals.c (rl_set_sighandler): Guard access to SIGWINCH. * wcwidth.c [__GO32__]: Include wctype.h before wchar.h. --- readline/support/wcwidth.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'readline/support') diff --git a/readline/support/wcwidth.c b/readline/support/wcwidth.c index ace9a3ab92c..36433d7935b 100644 --- a/readline/support/wcwidth.c +++ b/readline/support/wcwidth.c @@ -6,6 +6,11 @@ * Markus Kuhn -- 2001-09-08 -- public domain */ +#ifdef __GO32__ +/* DJGPP needs to include this before including wchar.h. */ +# include +#endif + #include struct interval { -- cgit v1.2.1