Fix rtp modules build on FreeBSD.

This commit is contained in:
Gleb Popov 2023-03-15 18:23:25 +03:00 committed by Wim Taymans
parent 1217dee35d
commit 2a02479877
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,10 @@
#include <module-rtp/sap.h> #include <module-rtp/sap.h>
#ifdef __FreeBSD__
#define ifr_ifindex ifr_index
#endif
/** \page page_module_rtp_sap PipeWire Module: Announce and create RTP streams /** \page page_module_rtp_sap PipeWire Module: Announce and create RTP streams
* *
* The `rtp-sap` module announces RTP streams that match the rules with the * The `rtp-sap` module announces RTP streams that match the rules with the

View file

@ -37,6 +37,10 @@
#include <module-rtp/apple-midi.h> #include <module-rtp/apple-midi.h>
#include <module-rtp/stream.h> #include <module-rtp/stream.h>
#ifdef __FreeBSD__
#define ifr_ifindex ifr_index
#endif
/** \page page_module_rtp_session PipeWire Module: RTP session /** \page page_module_rtp_session PipeWire Module: RTP session
* *
* The `rtp-session` module creates a media session that is announced * The `rtp-session` module creates a media session that is announced