diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 13:45:15 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 13:49:27 +0100 |
commit | 4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2 (patch) | |
tree | be6fb3983d5161eef175eba9c7be42b41299506f /examples/samplesshd-tty.c | |
parent | f565aeebfa108d03e5c782881edd2ced849a4989 (diff) | |
download | libssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.tar.gz libssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.tar.xz libssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.zip |
Fix examples compilation on OSX (libargp)
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" |