1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-12 15:41:16 +03:00

cmake: Check for unistd.h.

This commit is contained in:
Andreas Schneider
2013-07-22 10:41:58 +02:00
parent 7d07e1f1bd
commit df81a05505
11 changed files with 55 additions and 21 deletions

View File

@@ -21,6 +21,8 @@
* MA 02111-1307, USA.
*/
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -163,8 +165,12 @@ int ssh_getpass(const char *prompt,
#else
#include <fcntl.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/**
* @ingroup libssh_misc