summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-10 15:27:34 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-10 15:27:34 +1100
commitcfea2063e5e1f5d1415fd520f48730268e68d69e (patch)
tree2fb5446c3119d7414fe0eb9ff8fdbe2da39ba19b /openbsd-compat/port-aix.h
parent0d86829fca3eaa01392a34547935f73463422c4e (diff)
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move
include from port-aix.h to port-aix.c and remove unnecessary function definition. Fixes build errors on AIX. #include'ing auth.h in port-aix.h causes conflicting definitions of Authctxt in sshconnect2.c. Sigh.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index ef03661ed..3118af9a9 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
1/* $Id: port-aix.h,v 1.18 2004/02/10 01:50:20 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.19 2004/02/10 04:27:35 dtucker Exp $ */
2 2
3/* 3/*
4 * 4 *
@@ -36,9 +36,6 @@
36# include <usersec.h> 36# include <usersec.h>
37#endif 37#endif
38 38
39/* For Authctxt */
40#include "auth.h"
41
42/* Some versions define r_type in the above headers, which causes a conflict */ 39/* Some versions define r_type in the above headers, which causes a conflict */
43#ifdef r_type 40#ifdef r_type
44# undef r_type 41# undef r_type
@@ -66,7 +63,6 @@ void aix_usrinfo(struct passwd *);
66 63
67#ifdef WITH_AIXAUTHENTICATE 64#ifdef WITH_AIXAUTHENTICATE
68# define CUSTOM_SYS_AUTH_PASSWD 1 65# define CUSTOM_SYS_AUTH_PASSWD 1
69int sys_auth_passwd(Authctxt *, const char *);
70# define CUSTOM_FAILED_LOGIN 1 66# define CUSTOM_FAILED_LOGIN 1
71void record_failed_login(const char *, const char *); 67void record_failed_login(const char *, const char *);
72#endif 68#endif