diff --git a/src/programs/pkexec.c b/src/programs/pkexec.c index b439475f..daed0167 100644 --- a/src/programs/pkexec.c +++ b/src/programs/pkexec.c @@ -674,7 +674,7 @@ main (int argc, char *argv[]) argv[n] = path_abs; } } -#if _POSIX_C_SOURCE >= 200809L +#if _XOPEN_SOURCE >= 700 s = realpath(path, NULL); #else s = NULL;