diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 14:09:28 +0100 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 14:09:28 +0100 |
| commit | 6e9e13cc2452d98ad8b10cf744725c21ba83cd2e (patch) | |
| tree | a7d5e70940777f7788e36331a5d1bdf0211ac14d /examples | |
| parent | 5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8 (diff) | |
examples: fix forktty() warning on OSX
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/samplesshd-tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c index b9831855..83b75648 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 <pty.h> #endif - +#ifdef HAVE_UTIL_H +#include <util.h> +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh" |
