login

<     >

2015-10-22 18:38:01 (UTC-02:00)

Marcel Rodrigues <marcelgmr@gmail.com>

Ensure SIGWINCH is defined.

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];