changeset 236:ee98d63dbba7 libavformat

kernel header bug workaround by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
author michaelni
date Tue, 09 Sep 2003 19:14:05 +0000
parents 5b5ca8b953f8
children 35231c0be8e5
files grab.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/grab.c	Tue Sep 09 19:03:14 2003 +0000
+++ b/grab.c	Tue Sep 09 19:14:05 2003 +0000
@@ -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 {