diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-08-10 19:17:41 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-08-10 19:17:41 +0000 |
commit | 7735530b59dfd7ee9a1cfce92572d46a8ae8aca9 (patch) | |
tree | bbd5068103e4ec83eee0cc97378b316203cd2ac9 /readline/support | |
parent | d655134cbba560d43edcf048ee7434c6d73cc928 (diff) | |
download | gdb-7735530b59dfd7ee9a1cfce92572d46a8ae8aca9.tar.gz |
Build fixes for DJGPP.
* signals.c (rl_set_sighandler): Guard access to SIGWINCH.
* wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
Diffstat (limited to 'readline/support')
-rw-r--r-- | readline/support/wcwidth.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <wctype.h> +#endif + #include <wchar.h> struct interval { |