mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Do not try to include endian.h on FreeBSD.
This commit is contained in:
		
							parent
							
								
									fd937fa378
								
							
						
					
					
						commit
						aec64336fe
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -29,7 +29,9 @@
 | 
				
			||||||
extern "C" {
 | 
					extern "C" {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef __FreeBSD__
 | 
				
			||||||
#include <endian.h>
 | 
					#include <endian.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SPA_AUDIO_LAYOUT_Mono		1, SPA_AUDIO_CHANNEL_MONO
 | 
					#define SPA_AUDIO_LAYOUT_Mono		1, SPA_AUDIO_CHANNEL_MONO
 | 
				
			||||||
#define SPA_AUDIO_LAYOUT_Stereo		2, SPA_AUDIO_CHANNEL_FL, SPA_AUDIO_CHANNEL_FR
 | 
					#define SPA_AUDIO_LAYOUT_Stereo		2, SPA_AUDIO_CHANNEL_FL, SPA_AUDIO_CHANNEL_FR
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,9 @@
 | 
				
			||||||
extern "C" {
 | 
					extern "C" {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef __FreeBSD__
 | 
				
			||||||
#include <endian.h>
 | 
					#include <endian.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SPA_AUDIO_MAX_CHANNELS	64u
 | 
					#define SPA_AUDIO_MAX_CHANNELS	64u
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue