From b74c8f4241ec8c3d972ee97d0ce9a399ddd09ce1 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 18 Apr 2010 19:37:37 -0400 Subject: Improvements to demo scripts. Alias -coe for -connect_or_exit. Fix HAVE_V4L2. Warn no Xvfb, Xdummy, or Xvnc. Xinerama screens. --- x11vnc/v4l.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'x11vnc/v4l.c') diff --git a/x11vnc/v4l.c b/x11vnc/v4l.c index 2180794..84bfd08 100644 --- a/x11vnc/v4l.c +++ b/x11vnc/v4l.c @@ -46,6 +46,11 @@ so, delete this exception statement from your version. #include #define CONFIG_VIDEO_V4L1_COMPAT #include +#ifdef __LINUX_VIDEODEV2_H +# ifndef HAVE_V4L2 +# define HAVE_V4L2 1 +# endif +#endif #define V4L_OK #endif #endif -- cgit v1.2.1