diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h index 3a5c961601..4f4300825f 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h @@ -76,6 +76,8 @@ typedef gboolean (*GstV4l2UpdateFpsFunction) (GstV4l2Object * v4l2object); * 'unsigned long' for the 2nd parameter */ #ifdef __ANDROID__ typedef unsigned ioctl_req_t; +#elif defined(__linux__) && !defined(__GLIBC__) /* musl/linux */ +typedef int ioctl_req_t; #else typedef gulong ioctl_req_t; #endif