From d80f049d794a6ba3fda7c756afefc17d88a0793d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 1 Aug 2001 04:01:29 +0000 Subject: [PATCH] * fake-addrinfo.h (AI_NUMERICHOST): Define as zero if not already defined git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13664 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/fake-addrinfo.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 62d5f3ee4..1710d46a9 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2001-08-01 Ken Raeburn + + * fake-addrinfo.h (AI_NUMERICHOST): Define as zero if not already + defined. + 2001-07-31 Ken Raeburn * krb5.hin (krb5_check_transited_list): Pointer args now point to diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 78c471f8f..08536e9a4 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -379,3 +379,7 @@ static int translate_h_errno (int h) #ifndef AI_DEFAULT # define AI_DEFAULT 0 /* (AI_V4MAPPED | AI_ADDRCONFIG) */ #endif +/* AIX 4.3.3 is based on RFC 2133; no AI_NUMERICHOST. */ +#ifndef AI_NUMERICHOST +# define AI_NUMERICHOST 0 +#endif -- 2.26.2