these need active_state defined to link on OSX

temporary measure until active_state goes away entirely
This commit is contained in:
Damien Miller 2015-01-27 23:06:23 +11:00
parent e56aa87502
commit ade31d7b6f
3 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#include "packet.h"
#include "myproposal.h"
struct ssh *active_state = NULL; /* XXX - needed for linking */
void kex_tests(void);
static int do_debug = 0;

View File

@ -77,6 +77,8 @@ fd_set *read_wait;
size_t read_wait_nfdset;
int ncon;
struct ssh *active_state = NULL; /* XXX needed for linking */
/*
* Keep a connection structure for each file descriptor. The state
* associated with file descriptor n is held in fdcon[n].

View File

@ -57,6 +57,8 @@
#include "sshkey.h"
#include "ssherr.h"
struct ssh *active_state = NULL; /* XXX needed for linking */
/* XXX readconf.c needs these */
uid_t original_real_uid;