From: John Carr Date: Sun, 23 Feb 1992 12:19:28 +0000 (+0000) Subject: AIX 3.1 support: work around include file bug; include X-Git-Tag: krb5-1.0-beta2~232 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31059f3885f83c37bc5d93b1f47e13f1d229a29b;p=krb5.git 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 --- 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 /*