mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gstreamer: ptp-helper: Use if_nametoindex
and setsockopt
on Solaris / Illumos too
Patch by Marcel Telka <marcel@telka.sk>. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3552 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6947>
This commit is contained in:
parent
c36296895f
commit
367d693f22
1 changed files with 0 additions and 2 deletions
|
@ -284,9 +284,7 @@ pub mod unix {
|
|||
)]
|
||||
pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: c_int) -> c_int;
|
||||
|
||||
#[cfg(not(any(target_os = "solaris", target_os = "illumos")))]
|
||||
pub fn if_nametoindex(name: *const c_char) -> c_uint;
|
||||
#[cfg(not(any(target_os = "solaris", target_os = "illumos")))]
|
||||
pub fn setsockopt(
|
||||
socket: c_int,
|
||||
level: c_int,
|
||||
|
|
Loading…
Reference in a new issue