diff options
author | netchild <netchild@FreeBSD.org> | 2011-05-04 09:52:34 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2011-05-04 09:52:34 +0000 |
commit | 897499f709f1ab9685dcf9f19d1b66b4f3766378 (patch) | |
tree | de4ac445a6450be8be1caade646ec42a5bab16b3 | |
parent | 0b969d4438acfe4041a96f29acc9a738d0e01342 (diff) | |
download | FreeBSD-src-897499f709f1ab9685dcf9f19d1b66b4f3766378.zip FreeBSD-src-897499f709f1ab9685dcf9f19d1b66b4f3766378.tar.gz |
Add FEATURE macros for v4l and v4l2 to the linuxulator.
Suggested by: ae
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 770969c..5532c93 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/soundcard.h> #include <sys/stdint.h> #include <sys/sx.h> +#include <sys/sysctl.h> #include <sys/tty.h> #include <sys/uio.h> #include <sys/types.h> @@ -91,6 +92,9 @@ __FBSDID("$FreeBSD$"); CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ); +FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator"); +FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator"); + static linux_ioctl_function_t linux_ioctl_cdrom; static linux_ioctl_function_t linux_ioctl_vfat; static linux_ioctl_function_t linux_ioctl_console; |