projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826b7e2
)
AIX 3.1 support: work around include file bug; include <sys/access.h>
author
John Carr
<jfc@mit.edu>
Sun, 23 Feb 1992 12:19:28 +0000
(12:19 +0000)
committer
John Carr
<jfc@mit.edu>
Sun, 23 Feb 1992 12:19:28 +0000
(12:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2230
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/os/kuserok.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/kuserok.c
b/src/lib/krb5/os/kuserok.c
index dc08c7ffd1a9e0ff908074ffc91f9b339d4f38c0..e50387b32ab0533bf73b8f5f303e9e0935232e56 100644
(file)
--- a/
src/lib/krb5/os/kuserok.c
+++ b/
src/lib/krb5/os/kuserok.c
@@
-38,6
+38,12
@@
static char rcsid_kuserok_c [] =
#include <stdio.h>
#include <pwd.h>
+#if defined(_AIX) && defined(_IBMR2)
+#include <sys/access.h>
+/* xlc has a bug with "const" */
+#define getpwnam(user) getpwnam((char *)user)
+#endif
+
#define MAX_USERNAME 10
/*