mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Move the ifr_ifindex FreeBSD definition into a header file to reduce code duplication
This commit is contained in:
parent
3f31935cac
commit
aafe815556
6 changed files with 4 additions and 17 deletions
|
|
@ -39,10 +39,6 @@
|
|||
#include "module-netjack2/peer.c"
|
||||
#include "network-utils.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#define ifr_ifindex ifr_index
|
||||
#endif
|
||||
|
||||
#ifndef IPTOS_DSCP
|
||||
#define IPTOS_DSCP_MASK 0xfc
|
||||
#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue