diff options
Diffstat (limited to 'examples/samplesshd-tty.c')
-rw-r--r-- | examples/samplesshd-tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c index 7ed70d3d..b9831855 100644 --- a/examples/samplesshd-tty.c +++ b/examples/samplesshd-tty.c @@ -25,7 +25,9 @@ clients must be made or how a client should react. #include <string.h> #include <stdio.h> #include <poll.h> +#ifdef HAVE_PTY_H #include <pty.h> +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh" |