aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-07 09:03:32 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-07 09:03:53 +0100
commit09a715b1474dc41f71e3993fc72c0b9833f09e85 (patch)
treef05f361a923bb703ca742c096e540ff0cbef0921 /examples
parent42ad55377f2d85c902c8239a91839353f7ad7136 (diff)
downloadlibssh-09a715b1474dc41f71e3993fc72c0b9833f09e85.tar.gz
libssh-09a715b1474dc41f71e3993fc72c0b9833f09e85.tar.xz
libssh-09a715b1474dc41f71e3993fc72c0b9833f09e85.zip
example: Add missing include for forkpty().
Diffstat (limited to 'examples')
-rw-r--r--examples/samplesshd-tty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c
index ad32b682..05d7c644 100644
--- a/examples/samplesshd-tty.c
+++ b/examples/samplesshd-tty.c
@@ -31,6 +31,9 @@ clients must be made or how a client should react.
#ifdef HAVE_UTIL_H
#include <util.h>
#endif
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
#define SSHD_USER "libssh"
#define SSHD_PASSWORD "libssh"