mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-28 08:14:27 +01:00
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
This commit is contained in:
parent
edea6cf141
commit
ddf0a9dd55
4
tmate.h
4
tmate.h
@ -3,6 +3,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <msgpack.h>
|
||||
#include <libssh/libssh.h>
|
||||
#include <event.h>
|
||||
|
||||
#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,
|
||||
|
Loading…
Reference in New Issue
Block a user