From 31059f3885f83c37bc5d93b1f47e13f1d229a29b Mon Sep 17 00:00:00 2001 From: John Carr Date: Sun, 23 Feb 1992 12:19:28 +0000 Subject: [PATCH] AIX 3.1 support: work around include file bug; include git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2230 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/kuserok.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/krb5/os/kuserok.c b/src/lib/krb5/os/kuserok.c index dc08c7ffd..e50387b32 100644 --- a/src/lib/krb5/os/kuserok.c +++ b/src/lib/krb5/os/kuserok.c @@ -38,6 +38,12 @@ static char rcsid_kuserok_c [] = #include #include +#if defined(_AIX) && defined(_IBMR2) +#include +/* xlc has a bug with "const" */ +#define getpwnam(user) getpwnam((char *)user) +#endif + #define MAX_USERNAME 10 /* -- 2.26.2