From ddf0a9dd553bba444d3b39b90ee1dbd19cf9e735 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Mon, 17 Jun 2013 17:34:34 -0400 Subject: [PATCH] Fix compile bug libssh/include/libssh/libssh.h:115: error: previous declaration of 'ssh_session' was here tmate.h:83: error: redefinition of typedef 'ssh_channel' libssh/include/libssh/libssh.h:110: error: previous declaration of 'ssh_channel' was here make: *** [tmate-ssh-client.o] Error 1 --- tmate.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tmate.h b/tmate.h index 2e0606a1..899a5f17 100644 --- a/tmate.h +++ b/tmate.h @@ -3,6 +3,7 @@ #include #include +#include #include #include "tmux.h" @@ -79,9 +80,6 @@ extern void tmate_decoder_commit(struct tmate_decoder *decoder, size_t len); #define TMATE_HOST_ECDSA_KEY "c7:a1:51:36:d2:bb:35:4b:0a:1a:c0:43:97:74:ea:42" #endif -typedef struct ssh_session_struct* ssh_session; -typedef struct ssh_channel_struct* ssh_channel; - enum tmate_ssh_client_state_types { SSH_NONE, SSH_INIT,