Commit 74ba8ca7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Fix v4l2 build failure on Debian/kfreebsd"

This reverts commit 7711eb75.
This makes no sense as control types are _not_ macros.
parent 3e48c330
...@@ -40,8 +40,11 @@ ...@@ -40,8 +40,11 @@
# define V4L2_STD_MTS (V4L2_STD_NTSC_M|V4L2_STD_PAL_M|V4L2_STD_PAL_N|\ # define V4L2_STD_MTS (V4L2_STD_NTSC_M|V4L2_STD_PAL_M|V4L2_STD_PAL_N|\
V4L2_STD_PAL_Nc) V4L2_STD_PAL_Nc)
#endif #endif
#ifndef V4L2_CTRL_TYPE_BITMASK /* 3.1 */ #ifdef __linux__
# define V4L2_CTRL_TYPE_BITMASK 8 # include <linux/version.h>
# if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
# define V4L2_CTRL_TYPE_BITMASK 8
# endif
#endif #endif
#ifndef V4L2_CID_ILLUMINATORS_1 /* 2.6.37 */ #ifndef V4L2_CID_ILLUMINATORS_1 /* 2.6.37 */
# define V4L2_CID_ILLUMINATORS_1 (V4L2_CID_BASE+38) # define V4L2_CID_ILLUMINATORS_1 (V4L2_CID_BASE+38)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment