mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	caps: Don't require --without-caps on FreeBSD
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72580
This commit is contained in:
		
							parent
							
								
									6ac599c1f4
								
							
						
					
					
						commit
						97c27202ca
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -86,6 +86,9 @@ void pa_drop_caps(void) {
 | 
				
			||||||
    pa_assert_se(cap_clear(caps) == 0);
 | 
					    pa_assert_se(cap_clear(caps) == 0);
 | 
				
			||||||
    pa_assert_se(cap_set_proc(caps) == 0);
 | 
					    pa_assert_se(cap_set_proc(caps) == 0);
 | 
				
			||||||
    pa_assert_se(cap_free(caps) == 0);
 | 
					    pa_assert_se(cap_free(caps) == 0);
 | 
				
			||||||
 | 
					#elif defined(__FreeBSD__)
 | 
				
			||||||
 | 
					    /* FreeBSD doesn't have this functionality, even though sys/capability.h is
 | 
				
			||||||
 | 
					     * available. See https://bugs.freedesktop.org/show_bug.cgi?id=73967 */
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#error "Don't know how to do capabilities on your system.  Please send a patch."
 | 
					#error "Don't know how to do capabilities on your system.  Please send a patch."
 | 
				
			||||||
#endif /* __linux__ */
 | 
					#endif /* __linux__ */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue