mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Fix building module-netjack2 on FreeBSD
This commit is contained in:
		
							parent
							
								
									84699032be
								
							
						
					
					
						commit
						4ea02f5c80
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -37,6 +37,10 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "module-netjack2/peer.c"
 | 
					#include "module-netjack2/peer.c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __FreeBSD__
 | 
				
			||||||
 | 
					#define ifr_ifindex ifr_index
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef IPTOS_DSCP
 | 
					#ifndef IPTOS_DSCP
 | 
				
			||||||
#define IPTOS_DSCP_MASK 0xfc
 | 
					#define IPTOS_DSCP_MASK 0xfc
 | 
				
			||||||
#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
 | 
					#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue