mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Add support for MidnightBSD
Fix build issue Fix build issue
This commit is contained in:
parent
4922aed6c6
commit
6a15a02ec2
20 changed files with 35 additions and 35 deletions
|
|
@ -1756,7 +1756,7 @@ static int v4l2_ioctl(int fd, unsigned long int request, void *arg)
|
|||
if ((file = find_file(fd)) == NULL)
|
||||
return globals.old_fops.ioctl(fd, request, arg);
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
|
||||
if (arg == NULL && (request & IOC_DIRMASK != IOC_VOID)) {
|
||||
#else
|
||||
if (arg == NULL && (_IOC_DIR(request) & (_IOC_WRITE | _IOC_READ))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue