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:10:04 +0100 |
commit | ebf4a03908e9d5cc728af675f4f235c315241f99 (patch) | |
tree | f5e41e5a9980c7aa08496ecd78d1577f88d44c3b /examples | |
parent | 4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2 (diff) | |
download | libssh-ebf4a03908e9d5cc728af675f4f235c315241f99.tar.gz libssh-ebf4a03908e9d5cc728af675f4f235c315241f99.tar.xz libssh-ebf4a03908e9d5cc728af675f4f235c315241f99.zip |
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 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 <pty.h> #endif - +#ifdef HAVE_UTIL_H +#include <util.h> +#endif #define SSHD_USER "libssh" #define SSHD_PASSWORD "libssh" |