=========================================
videodevs.h
=========================================
struct video_capability
{
char name[32];
int type;
int channels; /* Num channels */
int audios; /* Num audio devices */
int maxwidth; /* Supported width */
int maxheight; /* And height */
int minwidth; /* Supported width */
int minheight; /* And height */
};
=========================================
=========================================
webcam.h
=========================================
#include "videodevs.h"
struct video_capability vCaps;
=========================================
error when compiling:
webcam.h:186: error: field `vCaps' has incomplete type