diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-09-09 19:14:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-09-09 19:14:05 +0000 |
commit | 72a476c1e1f50246af0bfb906a92bb2a38b8ebab (patch) | |
tree | 0dfc4054326e15017339b85dba6db4674a2e9bb4 /libavformat/grab.c | |
parent | cddf3f452a0eac6be272d7dcf298a153ad90bd5c (diff) | |
download | ffmpeg-72a476c1e1f50246af0bfb906a92bb2a38b8ebab.tar.gz |
kernel header bug workaround by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Originally committed as revision 2241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/grab.c')
-rw-r--r-- | libavformat/grab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/grab.c b/libavformat/grab.c index cd4b8fe908..d2b2cc9a41 100644 --- a/libavformat/grab.c +++ b/libavformat/grab.c @@ -17,12 +17,13 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "avformat.h" -#include <linux/videodev.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/time.h> +#define _LINUX_TIME_H 1 +#include <linux/videodev.h> #include <time.h> typedef struct { |