summaryrefslogtreecommitdiff
path: root/pppd/tty.c
diff options
context:
space:
mode:
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>2019-09-26 09:21:06 +0200
committerPaul Mackerras <paulus@ozlabs.org>2019-10-02 08:47:40 +1000
commit7f2f0deae2e0055373ccdd995cd3027aca546549 (patch)
tree6f421d61d6c65e9d3c578827d1b76e265040c5cc /pppd/tty.c
parent4e713175eae56cb863b39bc19d377f95a35823a8 (diff)
downloadppp-7f2f0deae2e0055373ccdd995cd3027aca546549.tar.gz
pppd: Refactor setjmp/longjmp with pipe pair in event wait loop
setjmp/longjmp isn't supported by all compilers. Having a pipe pair to wake an event wait loop from within a signal handler is rather portable and common enough. Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'pppd/tty.c')
-rw-r--r--pppd/tty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pppd/tty.c b/pppd/tty.c
index c9a0b33..7ece675 100644
--- a/pppd/tty.c
+++ b/pppd/tty.c
@@ -83,7 +83,6 @@
#include <netdb.h>
#include <utmp.h>
#include <pwd.h>
-#include <setjmp.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/wait.h>