* signals.c (rl_set_sighandler): Guard access to SIGWINCH.
* wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
+2008-08-10 Pedro Alves <pedro@codesourcery.com>
+
+ Build fixes for DJGPP.
+
+ * signals.c (rl_set_sighandler): Guard access to SIGWINCH.
+ * wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
+
2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/544
struct sigaction act;
act.sa_handler = handler;
+#if defined (SIGWINCH)
act.sa_flags = (sig == SIGWINCH) ? SA_RESTART : 0;
+#else
+ act.sa_flags = 0;
+#endif
sigemptyset (&act.sa_mask);
sigemptyset (&ohandler->sa_mask);
sigaction (sig, &act, &old_handler);
* 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 {