diff --git a/lib/krb5/krb5_locl.h b/lib/krb5/krb5_locl.h index d59d681ba..a6775e667 100644 --- a/lib/krb5/krb5_locl.h +++ b/lib/krb5/krb5_locl.h @@ -61,6 +61,9 @@ #include #endif #ifdef HAVE_PWD_H +#undef _POSIX_PTHREAD_SEMANTICS +/* This gets us the 5-arg getpwnam_r on Solaris 9. */ +#define _POSIX_PTHREAD_SEMANTICS #include #endif