From 1c88b06912b473a2d3765a5e28176274412967ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 26 May 2024 12:33:02 +0300 Subject: [PATCH] gstreamer: ptp-helper: Use `if_nametoindex` and `setsockopt` on Solaris / Illumos too Patch by Marcel Telka . Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3552 Part-of: --- subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs b/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs index 47ac900068..1f8c6457c8 100644 --- a/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs +++ b/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs @@ -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,