]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Fixed build on Cygwin by adding configure check for ncurses/termcap.h.
[nmh] / uip / rcvtty.c
index 6c08dae28d9508bfcdc4a78382d6bda73d0f7078..8ce068d65be8aececa3558602b9da92e1475cfc7 100644 (file)
@@ -207,9 +207,7 @@ main (int argc, char **argv)
 static void
 alrmser (int i)
 {
-#ifndef RELIABLE_SIGNALS
-    SIGNAL (SIGALRM, alrmser);
-#endif
+    NMH_UNUSED (i);
 
     longjmp (myctx, 1);
 }
@@ -219,7 +217,8 @@ static int
 message_fd (char **vec)
 {
     pid_t child_id;
-    int bytes, fd, seconds;
+    int bytes, seconds;
+    volatile int fd;
     char tmpfil[BUFSIZ];
     struct stat st;