gstreamer: ptp-helper: Use u64 instead of c_ulong for ifa_flags on Solaris/Illumos

See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3553#note_2429400

Patch by Marcel Telka <marcel@telka.sk>.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6950>
This commit is contained in:
Sebastian Dröge 2024-05-28 09:06:57 +03:00 committed by Backport Bot
parent 367d693f22
commit 93a2026584

View file

@ -230,7 +230,7 @@ pub mod unix {
))]
pub type IfaFlags = c_uint;
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
pub type IfaFlags = c_ulong;
pub type IfaFlags = u64;
pub const IFF_UP: IfaFlags = 0x1;
pub const IFF_LOOPBACK: IfaFlags = 0x8;