From 6a758e6a80e0a875dff32357a77fd2b3292aca1a Mon Sep 17 00:00:00 2001 From: Marcel Rodrigues Date: Thu, 22 Oct 2015 18:38:01 -0200 Subject: [PATCH] Ensure SIGWINCH is defined. --- rover.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rover.c b/rover.c index bc192f2..ccac885 100644 --- a/rover.c +++ b/rover.c @@ -24,6 +24,12 @@ #include "config.h" +/* This signal is not defined by POSIX, but should be + present on all systems that have resizable terminals. */ +#ifndef SIGWINCH +#define SIGWINCH 28 +#endif + /* String buffers. */ #define BUFLEN PATH_MAX static char BUF1[BUFLEN]; -- 2.11.4.GIT