From ebf4a03908e9d5cc728af675f4f235c315241f99 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 3 Nov 2013 14:09:28 +0100 Subject: examples: fix forktty() warning on OSX --- examples/samplesshd-tty.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c index b983185..83b7564 100644 --- a/examples/samplesshd-tty.c +++ b/examples/samplesshd-tty.c @@ -28,7 +28,9 @@ clients must be made or how a client should react. #ifdef HAVE_PTY_H #include #endif - +#ifdef HAVE_UTIL_H +#include +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh" -- cgit