From d3e64a744e9b847f8b316bd5ff1805bb79f9a5ac Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 8 Mar 2009 09:54:38 +0000 Subject: Fix build on Windows. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@240 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 81dd615..0c7105c 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -425,6 +425,7 @@ struct ssh_message { struct ssh_channel_request channel_request; }; +#ifndef _WIN32 /* agent.c */ /** * @brief Create a new ssh agent structure. @@ -434,13 +435,14 @@ struct ssh_message { struct agent_struct *agent_new(struct ssh_session *session); void agent_close(struct agent_struct *agent); + /** * @brief Free an allocated ssh agent structure. * * @param agent The ssh agent structure to free. */ void agent_free(struct agent_struct *agent); -#ifndef _WIN32 + /** * @brief Check if the ssh agent is running. * -- cgit