aboutsummaryrefslogtreecommitdiff
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:04:06 +0100
commitc9a1be5a85b1c216e41448c23e753173c916fdee (patch)
treed2166f5738505f54c4973f188a033ccd6dc7df79
parentfc0db4d982d26a96ad232676bba402f105ef90e5 (diff)
downloadlibssh-c9a1be5a85b1c216e41448c23e753173c916fdee.tar.gz
libssh-c9a1be5a85b1c216e41448c23e753173c916fdee.tar.xz
libssh-c9a1be5a85b1c216e41448c23e753173c916fdee.zip
example: Add missing include for forkpty().
-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"