From 4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 3 Nov 2013 13:45:15 +0100 Subject: Fix examples compilation on OSX (libargp) --- examples/samplesshd-tty.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/samplesshd-tty.c') 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 #include #include +#ifdef HAVE_PTY_H #include +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh" -- cgit