From 6f058c687da7bc9be0c6c9784b4fdfaabe9228a9 Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 28 Aug 2006 22:25:15 +1000 Subject: [PATCH] Add fallback if SIGWINCH is unavailable darcs-hash:20060828122515-ac50b-f2b8f1519bbbd62908a6648255bfb20bdce83212.gz --- fallback.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fallback.h b/fallback.h index 5f3b1af7a..2cad4e32a 100644 --- a/fallback.h +++ b/fallback.h @@ -9,6 +9,8 @@ #include #include #include +#include +#include #ifndef WCHAR_MAX /** @@ -47,6 +49,10 @@ typedef char tputs_arg_t; #define SIGIO SIGUSR1 #endif +#ifndef SIGWINCH +#define SIGIO SIGUSR2 +#endif + #ifndef HAVE_WINSIZE struct winsize {