aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-08 09:54:38 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-08 09:54:38 +0000
commitd3e64a744e9b847f8b316bd5ff1805bb79f9a5ac (patch)
tree3b960e6bd9e3274138cdebefd9b591374960aa62 /include
parentfad349fecdf664f8c7113decabf0482cc0f83c3c (diff)
downloadlibssh-d3e64a744e9b847f8b316bd5ff1805bb79f9a5ac.tar.gz
libssh-d3e64a744e9b847f8b316bd5ff1805bb79f9a5ac.tar.xz
libssh-d3e64a744e9b847f8b316bd5ff1805bb79f9a5ac.zip
Fix build on Windows.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@240 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 81dd6158..0c7105c7 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.
*