diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-01-23 21:06:45 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-23 21:06:45 +1100 |
commit | 945bf52c3c815d95b1e842ebf6c910c3524bd5bb (patch) | |
tree | 53bd6d05fb51cca4e2deb92574f363605e39ed51 /openbsd-compat/bsd-openpty.c | |
parent | 84226b447d45fe4542613de68c2ca59a890d7c01 (diff) | |
download | openssh-git-945bf52c3c815d95b1e842ebf6c910c3524bd5bb.tar.gz |
Fix a couple of mysig_t leftovers.
Diffstat (limited to 'openbsd-compat/bsd-openpty.c')
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index b6b5ab49..1ab41f42 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c @@ -65,6 +65,8 @@ #include <string.h> #include <unistd.h> +#include "misc.h" + #ifndef O_NOCTTY #define O_NOCTTY 0 #endif @@ -97,7 +99,7 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp, */ int ptm; char *pts; - mysig_t old_signal; + sshsig_t old_signal; if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) return (-1); |