mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fixes for the Solaris detection.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@519 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									5cc0d0e682
								
							
						
					
					
						commit
						f2292aeeff
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,6 +30,8 @@
 | 
			
		|||
#include <stdlib.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
 | 
			
		||||
#include <polypcore/module.h>
 | 
			
		||||
#include <polypcore/modargs.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -187,7 +189,7 @@ static int detect_solaris(pa_core *c, int just_one) {
 | 
			
		|||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!S_ISCHR(s))
 | 
			
		||||
    if (!S_ISCHR(s.st_mode))
 | 
			
		||||
        return 0;
 | 
			
		||||
 | 
			
		||||
    snprintf(args, sizeof(args), "device=%s", dev);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue