… | … | ||
---|---|---|---|
25 | 25 | ||
26 | #include "../config.h" | 26 | #include "../config.h" |
27 | 27 | ||
28 | #include "ptytty.h" | 28 | #include "ptytty.h" |
29 | 29 | ||
30 | // helper/proxy support | ||
31 | |||
32 | #if PTYTTY_HELPER | ||
33 | |||
34 | #include <csignal> | 30 | #include <csignal> |
35 | 31 | ||
36 | #include <sys/types.h> | 32 | #include <sys/types.h> |
37 | #include <sys/socket.h> | 33 | #include <sys/socket.h> |
38 | #include <unistd.h> | 34 | #include <unistd.h> |
39 | #include <fcntl.h> | 35 | #include <fcntl.h> |
36 | |||
37 | // helper/proxy support | ||
38 | |||
39 | #if PTYTTY_HELPER | ||
40 | 40 | ||
41 | static int sock_fd = -1, lock_fd = -1; | 41 | static int sock_fd = -1, lock_fd = -1; |
42 | static int helper_pid, owner_pid; | 42 | static int helper_pid, owner_pid; |
43 | 43 | ||
44 | struct command | 44 | struct command |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |