summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uvc-gadget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/uvc-gadget.c b/uvc-gadget.c
index 4d59ab8..9c7a479 100644
--- a/uvc-gadget.c
+++ b/uvc-gadget.c
@@ -33,10 +33,12 @@
#include <errno.h>
#include <linux/usb/ch9.h>
+#include <linux/usb/g_uvc.h>
#include <linux/usb/video.h>
#include <linux/videodev2.h>
-#include "../drivers/usb/gadget/uvc.h"
+#define UVC_INTF_CONTROL 0
+#define UVC_INTF_STREAMING 1
#define clamp(val, min, max) ({ \
typeof(val) __val = (val); \