头文件是:
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/videodev2.h>
#include <linux/ioctl.h>
但是依旧报错:usbvideo.c:32:51: error: 'v4l2_capability' undeclared
这个结构体在videodev2.h中已经有定义,怎么总是提示找不到呢,而且我把这个结构体放我c文件还提示重复定义,真是醉了,有大佬给解答下么