aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pw.c b/pw.c
index 0a75cb2..68bf58c 100644
--- a/pw.c
+++ b/pw.c
@@ -1132,11 +1132,13 @@ static void ttyget(int fd, struct termios *tty)
panic("unable to get TTY parameters");
}
+#ifdef SIGWINCH
static void sigwinch(int sig)
{
(void) sig;
winch = 1;
}
+#endif
static char **resizebuf(char **buf, size_t nlfrom, size_t nlto)
{