From 1b2762cf4ecb3c2cdda005f8b1460b9cea74ec22 Mon Sep 17 00:00:00 2001 From: "Carl X. Su" Date: Wed, 23 Oct 2013 15:29:51 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20compile=20bug=20In=20file=20included=20fr?= =?UTF-8?q?om=20tmate-slave.c:18:=20tmate.h:101:=20error:=20redefinition?= =?UTF-8?q?=20of=20typedef=20=E2=80=98ssh=5Fsession=E2=80=99=20libssh/incl?= =?UTF-8?q?ude/libssh/libssh.h:115:=20note:=20previous=20declaration=20of?= =?UTF-8?q?=20=E2=80=98ssh=5Fsession=E2=80=99=20was=20here=20tmate.h:102:?= =?UTF-8?q?=20error:=20redefinition=20of=20typedef=20=E2=80=98ssh=5Fchanne?= =?UTF-8?q?l=E2=80=99=20libssh/include/libssh/libssh.h:110:=20note:=20prev?= =?UTF-8?q?ious=20declaration=20of=20=E2=80=98ssh=5Fchannel=E2=80=99=20was?= =?UTF-8?q?=20here=20make:=20***=20[tmate-slave.o]=20Error=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carl X. Su --- tmate.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tmate.h b/tmate.h index 8a7063cf..446e44f1 100644 --- a/tmate.h +++ b/tmate.h @@ -3,6 +3,7 @@ #include #include +#include #include #include "tmux.h" @@ -98,9 +99,6 @@ extern void tmate_replayer_init(struct tmate_replayer *replayer, /* tmate-ssh-client.c */ -typedef struct ssh_session_struct* ssh_session; -typedef struct ssh_channel_struct* ssh_channel; - #define TMATE_ROLE_SERVER 1 #define TMATE_ROLE_CLIENT 2