videodev2.h错误(转)

linux/videodev(2).h. 错误

linux/videodev2.h:513: error: field 'timestamp' has incomplete type


A temporary work-around I'm using is to include <sys/time.h> in the users
source file before includelinux/videodev(2).h.


/usr/include/linux/videodev2.h:155: error: '__s32' does not name a type

\

#include <linux/types.h>

#include <linux/videodev2.h>

add it directly above it.

 

posted on 2013-01-06 23:48  没底的瓶子  阅读(1349)  评论(0)    收藏  举报

导航