diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 10:41:58 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-23 10:44:51 +0200 |
commit | df81a05505514b384d10c9b192137584040e4984 (patch) | |
tree | 79c078d9f70668ccb42836489dee3febb2abd7d0 /src/agent.c | |
parent | 7d07e1f1bd06b509b8ee4bae4b22338c5e16735a (diff) | |
download | libssh-df81a05505514b384d10c9b192137584040e4984.tar.gz libssh-df81a05505514b384d10c9b192137584040e4984.tar.xz libssh-df81a05505514b384d10c9b192137584040e4984.zip |
cmake: Check for unistd.h.
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.c b/src/agent.c index 1f7454e6..1b094ed4 100644 --- a/src/agent.c +++ b/src/agent.c @@ -42,12 +42,12 @@ #include <string.h> #include <stdio.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif -#ifndef _WIN32 #include <netinet/in.h> #include <arpa/inet.h> -#endif #include "libssh/agent.h" #include "libssh/priv.h" |