From 09a715b1474dc41f71e3993fc72c0b9833f09e85 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 7 Jan 2014 09:03:32 +0100 Subject: [PATCH] example: Add missing include for forkpty(). --- examples/samplesshd-tty.c | 3 +++ 1 file changed, 3 insertions(+) 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 #endif +#ifdef HAVE_TERMIOS_H +#include +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh"