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:51:03 +0100 |
| commit | 5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8 (patch) | |
| tree | c91e24dc4490aea93116922e74bca1e4c3eaebf9 /examples/samplesshd-tty.c | |
| parent | 7c8a793b0a53182566a275fb43d5a1e868c792e4 (diff) | |
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" |
