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
				
			
		| 
						 | 
				
			
			@ -40,7 +40,6 @@
 | 
			
		|||
#include <sys/stat.h>
 | 
			
		||||
#include <sys/time.h>
 | 
			
		||||
#include <dirent.h>
 | 
			
		||||
#include <regex.h>
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_LANGINFO_H
 | 
			
		||||
#include <langinfo.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -50,6 +49,12 @@
 | 
			
		|||
#include <sys/utsname.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(HAVE_REGEX_H)
 | 
			
		||||
#include <regex.h>
 | 
			
		||||
#elif defined(HAVE_PCREPOSIX_H)
 | 
			
		||||
#include <pcreposix.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_STRTOF_L
 | 
			
		||||
#include <locale.h>
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue