summaryrefslogtreecommitdiff
path: root/openbsd-compat
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 /openbsd-compat
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).
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-aix.c1
-rw-r--r--openbsd-compat/port-uw.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 768d44c33..79c868966 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -32,6 +32,7 @@
32#include "hostfile.h" 32#include "hostfile.h"
33#include "auth.h" 33#include "auth.h"
34#include "ssh.h" 34#include "ssh.h"
35#include "ssh_api.h"
35#include "log.h" 36#include "log.h"
36 37
37#ifdef _AIX 38#ifdef _AIX
diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c
index ba675acd6..014cac264 100644
--- a/openbsd-compat/port-uw.c
+++ b/openbsd-compat/port-uw.c
@@ -47,6 +47,7 @@
47#include "hostfile.h" 47#include "hostfile.h"
48#include "auth.h" 48#include "auth.h"
49#include "ssh.h" 49#include "ssh.h"
50#include "ssh_api.h"
50 51
51int nischeck(char *); 52int nischeck(char *);
52 53