summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-09-09 19:14:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-09-09 19:14:05 +0000
commit72a476c1e1f50246af0bfb906a92bb2a38b8ebab (patch)
tree0dfc4054326e15017339b85dba6db4674a2e9bb4
parentcddf3f452a0eac6be272d7dcf298a153ad90bd5c (diff)
downloadffmpeg-streaming-72a476c1e1f50246af0bfb906a92bb2a38b8ebab.zip
ffmpeg-streaming-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
-rw-r--r--libavformat/grab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/grab.c b/libavformat/grab.c
index cd4b8fe..d2b2cc9 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 {
OpenPOWER on IntegriCloud