summaryrefslogtreecommitdiffstats
path: root/libssh/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index c603d7ab..c006d248 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1335,6 +1335,7 @@ error:
return rc;
}
+#ifndef _WIN32
/**
* @brief Accept an X11 forwarding channel.
*
@@ -1372,6 +1373,7 @@ ssh_channel channel_accept_x11(ssh_channel channel, int timeout_ms) {
return NULL;
}
+#endif
/**
* @brief Set environement variables.