Mercurial > libavformat.hg
diff v4l2.c @ 1100:d4793a811695 libavformat
Include the correct video4linux2 header
author | lucabe |
---|---|
date | Tue, 30 May 2006 13:04:18 +0000 |
parents | 4abfc175a5d7 |
children | 1291569071c6 |
line wrap: on
line diff
--- a/v4l2.c Sat May 27 20:56:14 2006 +0000 +++ b/v4l2.c Tue May 30 13:04:18 2006 +0000 @@ -30,8 +30,8 @@ #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/time.h> -#define _LINUX_TIME_H 1 -#include <linux/videodev.h> +#include <asm/types.h> +#include <linux/videodev2.h> #include <time.h> static const int desired_video_buffers = 256;