add more build controls
[goodguy/history.git] / cinelerra-5.1 / cinelerra / devicev4l2base.C
index 31a009b38fb9ea3b6c40303957dc646acfb4b6f6..f566e5028e9f5c9149168a50cddc7aceed610bf4 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 
+#ifdef HAVE_VIDEO4LINUX2
 
 #include "bctimer.h"
 #include "channel.h"
@@ -41,9 +42,7 @@
 #include <errno.h>
 #include <fcntl.h>
 
-#ifdef HAVE_VIDEO4LINUX2
 #include <linux/videodev2.h>
-#endif
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 
@@ -949,3 +948,4 @@ void DeviceV4L2Base::run()
        }
 }
 
+#endif