--- ffmpeg/libavformat/grab.c.orig	2007-05-14 16:36:34.000000000 +0200
+++ ffmpeg/libavformat/grab.c	2007-05-14 16:36:50.000000000 +0200
@@ -27,6 +27,7 @@
 #define _LINUX_TIME_H 1
 #include <linux/videodev.h>
 #include <time.h>
+#include <strings.h>
 
 typedef struct {
     int fd;
