From 6b5a17bc14e896e3904dc58d889b58934cfacd24 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 26 Mar 2018 13:12:44 +1100 Subject: 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). --- auth-sia.c | 1 + openbsd-compat/port-aix.c | 1 + openbsd-compat/port-uw.c | 1 + 3 files changed, 3 insertions(+) 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 #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 *); -- cgit v1.2.3