summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-03-26 13:12:44 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-03-26 13:24:41 +1100
commit6b5a17bc14e896e3904dc58d889b58934cfacd24 (patch)
tree56f7df0abd19c8b68c67dfdb0bdbd2a5c178c033
parentbc3f80e4d191b8e48650045dfa8a682cd3aabd4d (diff)
Include ssh_api.h for struct ssh.
struct ssh is needed by implementations of sys_auth_passwd() that were converted in commit bba02a50. Needed to fix build on AIX, I assume for the other platforms too (although it should be harmless if not needed).
-rw-r--r--auth-sia.c1
-rw-r--r--openbsd-compat/port-aix.c1
-rw-r--r--openbsd-compat/port-uw.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/auth-sia.c b/auth-sia.c
index 051d152c..7c97f03e 100644
--- a/auth-sia.c
+++ b/auth-sia.c
@@ -36,6 +36,7 @@
#include <string.h>
#include "ssh.h"
+#include "ssh_api.h"
#include "key.h"
#include "hostfile.h"
#include "auth.h"
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 768d44c3..79c86896 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -32,6 +32,7 @@
#include "hostfile.h"
#include "auth.h"
#include "ssh.h"
+#include "ssh_api.h"
#include "log.h"
#ifdef _AIX
diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c
index ba675acd..014cac26 100644
--- a/openbsd-compat/port-uw.c
+++ b/openbsd-compat/port-uw.c
@@ -47,6 +47,7 @@
#include "hostfile.h"
#include "auth.h"
#include "ssh.h"
+#include "ssh_api.h"
int nischeck(char *);