aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2011-11-29 17:13:48 +0000
committerTom Schouten <doelie@users.sourceforge.net>2011-11-29 17:13:48 +0000
commit325d6ba1c380fc2d57923f7282d73d4d4224639e (patch)
tree30e5aea37d6b227defa6024aaf0a22f5e66b4e62 /modules
parent6e2552bbb95b0c58ef9e7ab1021f4f3d85176109 (diff)
pdp: v4l build fixes
svn path=/trunk/externals/pdp/; revision=15805
Diffstat (limited to 'modules')
-rw-r--r--modules/image_io/pdp_v4l.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/image_io/pdp_v4l.c b/modules/image_io/pdp_v4l.c
index 12d527c..c0e4a72 100644
--- a/modules/image_io/pdp_v4l.c
+++ b/modules/image_io/pdp_v4l.c
@@ -38,10 +38,9 @@
#ifdef HAVE_LIBV4L1_VIDEODEV_H
# include <libv4l1-videodev.h>
-#elif 1 //defined HAVE_LINUX_VIDEODEV_H
-# include <linux/videodev.h>
#else
-# error cannot compile pdp_v4l without new kernel and without libv4l-dev
+# warning trying to use deprecated V4L-1 API
+# include <linux/videodev.h>
#endif
#include <sys/mman.h>