uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Wed, 16 Jan 2013 19:40:11 +0000 (14:40 -0500)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 16 Jan 2013 20:10:40 +0000 (15:10 -0500)
sys/uvch264/gstuvch264_src.c

index 388e519..a42039a 100644 (file)
@@ -44,6 +44,9 @@
 #include "gstuvch264-marshal.h"
 #include <gudev/gudev.h>
 #include <libusb.h>
+#ifndef LIBUSB_CLASS_VIDEO
+#define LIBUSB_CLASS_VIDEO 0x0e
+#endif
 
 typedef struct
 {