uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb

This commit is contained in:
Youness Alaoui 2013-01-16 14:40:11 -05:00 committed by Olivier Crête
parent e82e434730
commit 49fefbde65

View file

@ -44,6 +44,9 @@
#include "gstuvch264-marshal.h" #include "gstuvch264-marshal.h"
#include <gudev/gudev.h> #include <gudev/gudev.h>
#include <libusb.h> #include <libusb.h>
#ifndef LIBUSB_CLASS_VIDEO
#define LIBUSB_CLASS_VIDEO 0x0e
#endif
typedef struct typedef struct
{ {