diff grab.c @ 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 7d698c3213a0
children 845f9de2c883
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 {