diff options
Diffstat (limited to 'capplets/about-me/gnome-about-me.c')
-rw-r--r-- | capplets/about-me/gnome-about-me.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/about-me/gnome-about-me.c b/capplets/about-me/gnome-about-me.c index 1c6162dfa..b44aa3f41 100644 --- a/capplets/about-me/gnome-about-me.c +++ b/capplets/about-me/gnome-about-me.c @@ -333,7 +333,7 @@ get_user_login (void) struct passwd pwd, *err; int i; -#if __sun +#if defined(__sun) && !defined(_POSIX_PTHREAD_SEMANTICS) i = getpwuid_r (getuid (), &pwd, buf, sizeof (buf)); return (i != 0) ? g_strdup (pwd.pw_name) : NULL; #else |