From df81a05505514b384d10c9b192137584040e4984 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 22 Jul 2013 10:41:58 +0200 Subject: cmake: Check for unistd.h. --- examples/sshnetcat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/sshnetcat.c') diff --git a/examples/sshnetcat.c b/examples/sshnetcat.c index 19f6500a..052cabf4 100644 --- a/examples/sshnetcat.c +++ b/examples/sshnetcat.c @@ -13,10 +13,14 @@ clients must be made or how a client should react. #include "config.h" #include -#include #include #include +#ifdef HAVE_TERMIOS_H #include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif #include #include -- cgit