mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
caps: Fix compilation on Windows
Thanks to Pierre Ossman for the patch.
This commit is contained in:
parent
e55f4edaad
commit
999b47c099
1 changed files with 1 additions and 1 deletions
|
|
@ -72,10 +72,10 @@ void pa_drop_root(void) {
|
|||
pa_assert_se(geteuid() == uid);
|
||||
pa_assert_se(getgid() == gid);
|
||||
pa_assert_se(getegid() == gid);
|
||||
#endif
|
||||
|
||||
if (uid != 0)
|
||||
pa_drop_caps();
|
||||
#endif
|
||||
}
|
||||
|
||||
void pa_drop_caps(void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue