summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/port-aix.h15
2 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d734d4cd..c7bc855c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
7 its presence before doing AC_FUNC_GETPGRP. 7 its presence before doing AC_FUNC_GETPGRP.
8 - (dtucker) [configure.ac] Merge HP-UX blocks into a common block with minor 8 - (dtucker) [configure.ac] Merge HP-UX blocks into a common block with minor
9 version-specific variations as required. 9 version-specific variations as required.
10 - (dtucker) [openbsd-compat/port-aix.h] Use the HAVE_DECL_* definitions as
11 per the autoconf man page. Configure should always define them but it
12 doesn't hurt to check.
10 13
1120050527 1420050527
12 - (djm) [defines.h] Use our realpath if we have to define PATH_MAX, spotted by 15 - (djm) [defines.h] Use our realpath if we have to define PATH_MAX, spotted by
@@ -2625,4 +2628,4 @@
2625 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2628 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2626 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2629 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2627 2630
2628$Id: ChangeLog,v 1.3796 2005/05/28 08:31:42 dtucker Exp $ 2631$Id: ChangeLog,v 1.3797 2005/05/28 10:28:39 dtucker Exp $
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 9e3dce4dd..37b2c12b0 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,8 +1,9 @@
1/* $Id: port-aix.h,v 1.25 2005/03/21 11:46:34 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.26 2005/05/28 10:28:40 dtucker Exp $ */
2 2
3/* 3/*
4 * 4 *
5 * Copyright (c) 2001 Gert Doering. All rights reserved. 5 * Copyright (c) 2001 Gert Doering. All rights reserved.
6 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved.
6 * 7 *
7 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
@@ -47,23 +48,23 @@
47 48
48/* These should be in the system headers but are not. */ 49/* These should be in the system headers but are not. */
49int usrinfo(int, char *, int); 50int usrinfo(int, char *, int);
50#if (HAVE_DECL_SETAUTHDB == 0) 51#if defined(HAVE_DECL_SETAUTHDB) && (HAVE_DECL_SETAUTHDB == 0)
51int setauthdb(const char *, char *); 52int setauthdb(const char *, char *);
52#endif 53#endif
53/* these may or may not be in the headers depending on the version */ 54/* these may or may not be in the headers depending on the version */
54#if (HAVE_DECL_AUTHENTICATE == 0) 55#if defined(HAVE_DECL_AUTHENTICATE) && (HAVE_DECL_AUTHENTICATE == 0)
55int authenticate(char *, char *, int *, char **); 56int authenticate(char *, char *, int *, char **);
56#endif 57#endif
57#if (HAVE_DECL_LOGINFAILED == 0) 58#if defined(HAVE_DECL_LOGINFAILED) && (HAVE_DECL_LOGINFAILED == 0)
58int loginfailed(char *, char *, char *); 59int loginfailed(char *, char *, char *);
59#endif 60#endif
60#if (HAVE_DECL_LOGINRESTRICTIONS == 0) 61#if defined(HAVE_DECL_LOGINRESTRICTIONS) && (HAVE_DECL_LOGINRESTRICTIONS == 0)
61int loginrestrictions(char *, int, char *, char **); 62int loginrestrictions(char *, int, char *, char **);
62#endif 63#endif
63#if (HAVE_DECL_LOGINSUCCESS == 0) 64#if defined(HAVE_DECL_LOGINSUCCESS) && (HAVE_DECL_LOGINSUCCESS == 0)
64int loginsuccess(char *, char *, char *, char **); 65int loginsuccess(char *, char *, char *, char **);
65#endif 66#endif
66#if (HAVE_DECL_PASSWDEXPIRED == 0) 67#if defined(HAVE_DECL_PASSWDEXPIRED) && (HAVE_DECL_PASSWDEXPIRED == 0)
67int passwdexpired(char *, char **); 68int passwdexpired(char *, char **);
68#endif 69#endif
69 70