Commit c10f9d2f authored by Benjamin Drung's avatar Benjamin Drung Committed by Jean-Baptiste Kempf

Fix v4l2 build failure on Debian/kfreebsd

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 7711eb75851df0dfcacecab5199bec5cff528ce8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9103ca5e
......@@ -33,11 +33,8 @@
# warning Please update Video4Linux2 headers!
# define V4L2_CTRL_FLAG_VOLATILE 0x0080
#endif
#ifdef __linux__
# include <linux/version.h>
# if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
# define V4L2_CTRL_TYPE_BITMASK 8
# endif
#ifndef V4L2_CTRL_TYPE_BITMASK /* 3.1 */
# define V4L2_CTRL_TYPE_BITMASK 8
#endif
#ifndef V4L2_CID_ILLUMINATORS_1 /* 2.6.37 */
# 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