at 16.09-beta 21 lines 712 B view raw
1diff -ru ttyrec-1.0.8.orig/io.h ttyrec-1.0.8/io.h 2--- ttyrec-1.0.8.orig/io.h 2006-06-11 17:52:50.000000000 +0200 3+++ ttyrec-1.0.8/io.h 2015-11-15 09:59:54.000000000 +0100 4@@ -9,5 +9,6 @@ 5 int edup (int oldfd); 6 int edup2 (int oldfd, int newfd); 7 FILE* efdopen (int fd, const char *mode); 8+void set_progname (const char *name); 9 10 #endif 11diff -ru ttyrec-1.0.8.orig/ttyrec.c ttyrec-1.0.8/ttyrec.c 12--- ttyrec-1.0.8.orig/ttyrec.c 2006-06-11 17:52:50.000000000 +0200 13+++ ttyrec-1.0.8/ttyrec.c 2015-11-15 09:59:41.000000000 +0100 14@@ -54,6 +54,7 @@ 15 #include <unistd.h> 16 #include <string.h> 17 #include <stdlib.h> 18+#include <signal.h> 19 20 #if defined(SVR4) 21 #include <fcntl.h>