aboutsummaryrefslogtreecommitdiff
path: root/readline/support
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-10 19:17:42 +0000
committerPedro Alves <palves@redhat.com>2008-08-10 19:17:42 +0000
commit230335c43abb50996fa8755bce454c96b10c397a (patch)
tree41cbd7d0435505988e2872011e9017d2a934a1a8 /readline/support
parentae38509c56c44e4729477f9af84377f9e0405b37 (diff)
downloadgdb-230335c43abb50996fa8755bce454c96b10c397a.zip
gdb-230335c43abb50996fa8755bce454c96b10c397a.tar.gz
gdb-230335c43abb50996fa8755bce454c96b10c397a.tar.bz2
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/readline/support/wcwidth.c b/readline/support/wcwidth.c
index ace9a3a..36433d7 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 {