diff options
author | axel <axel@liljencrantz.se> | 2006-08-28 22:25:15 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-08-28 22:25:15 +1000 |
commit | 6f058c687da7bc9be0c6c9784b4fdfaabe9228a9 (patch) | |
tree | e14c744a95a52199bbc88c4845acdf265203795f /fallback.h | |
parent | 53ea5d60b7433c06bdae94865c7b4be44fef79ed (diff) |
Add fallback if SIGWINCH is unavailable
darcs-hash:20060828122515-ac50b-f2b8f1519bbbd62908a6648255bfb20bdce83212.gz
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,8 @@ #include <wchar.h> #include <limits.h> #include <sys/time.h> +#include <sys/types.h> +#include <signal.h> #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 { |