diff options
author | Leo Izen <leo.izen@gmail.com> | 2025-06-06 16:09:34 -0400 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2025-06-08 19:42:56 -0400 |
commit | 5fea5e3e11d6ff425db48f44489916399822aece (patch) | |
tree | 006f3a13ddcb8a5d3936cd852f221a6d65009eed /libavdevice/v4l2.c | |
parent | ebcf2dcb2c424da7084b18832043529c3dd62e0f (diff) | |
download | ffmpeg-5fea5e3e11d6ff425db48f44489916399822aece.tar.gz |
configure: rename POSIX ioctl check
Commit 00b64fca55a3a009c9d0e391c85f4fd3291e5d12 introduced configure
detection for HAVE_POSIX_IOCTL but unfortunately this conflicts with
v4l-utils version 1.30, which itself checks for #ifdef HAVE_POSIX_IOCTL
in a public header and erroneously determines it to be true because we
define this to be 0.
Since this is only used for avdevice/v4l2, we rename this to something
else, namely ioctl_posix, simply to prevent the name conflict with the
file /usr/include/libv4l2.h at least until they can upstream a fix on
their end.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 0ae6872338..c38ecbb378 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -111,7 +111,7 @@ struct video_data { int (*open_f)(const char *file, int oflag, ...); int (*close_f)(int fd); int (*dup_f)(int fd); -#if HAVE_POSIX_IOCTL +#if HAVE_IOCTL_POSIX int (*ioctl_f)(int fd, int request, ...); #else int (*ioctl_f)(int fd, unsigned long int request, ...); |