mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Use PCRE if POSIX regex.h is not available
This commit is contained in:
		
							parent
							
								
									bb12ff8356
								
							
						
					
					
						commit
						a951c779c6
					
				
					 3 changed files with 18 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -27,10 +27,15 @@
 | 
			
		|||
#include <string.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <regex.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
#if defined(HAVE_REGEX_H)
 | 
			
		||||
#include <regex.h>
 | 
			
		||||
#elif defined(HAVE_PCREPOSIX_H)
 | 
			
		||||
#include <pcreposix.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <pulse/xmalloc.h>
 | 
			
		||||
 | 
			
		||||
#include <pulsecore/core-error.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue