mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	utils: handle random_r fallback
musl does not seem to have it so fall back to rand() and srand().
This commit is contained in:
		
							parent
							
								
									4e298f2fe7
								
							
						
					
					
						commit
						78e5c2f3e6
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		|  | @ -403,6 +403,7 @@ check_functions = [ | |||
|   ['gettid', '#include <unistd.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['memfd_create', '#include <sys/mman.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['getrandom', '#include <stddef.h>\n#include <sys/random.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['random_r', '#include <stdlib.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['reallocarray', '#include <stdlib.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['sigabbrev_np', '#include <string.h>', ['-D_GNU_SOURCE'], []], | ||||
|   ['XSetIOErrorExitHandler', '#include <X11/Xlib.h>', [], [x11_dep]], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans