From 9cf788eca8ba0990f3d5b3c5c3edea93ebad66e3 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Tue, 12 Mar 2013 15:25:59 +0100
Subject: [PATCH] avformat/avdevice: add missing time.h includes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavdevice/alsa-audio-dec.c | 1 +
 libavdevice/alsa-audio-enc.c | 1 +
 libavdevice/openal-dec.c     | 1 +
 libavdevice/v4l2.c           | 1 +
 libavformat/tcp.c            | 1 +
 libavformat/udp.c            | 1 +
 6 files changed, 6 insertions(+)

diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c
index b781daf910e..03154b0b7c1 100644
--- a/libavdevice/alsa-audio-dec.c
+++ b/libavdevice/alsa-audio-dec.c
@@ -49,6 +49,7 @@
 #include "libavformat/internal.h"
 #include "libavutil/opt.h"
 #include "libavutil/mathematics.h"
+#include "libavutil/time.h"
 
 #include "avdevice.h"
 #include "alsa-audio.h"
diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c
index 403a44fcb02..0f4e4a2c7a4 100644
--- a/libavdevice/alsa-audio-enc.c
+++ b/libavdevice/alsa-audio-enc.c
@@ -39,6 +39,7 @@
 
 #include <alsa/asoundlib.h>
 
+#include "libavutil/time.h"
 #include "libavformat/internal.h"
 #include "avdevice.h"
 #include "alsa-audio.h"
diff --git a/libavdevice/openal-dec.c b/libavdevice/openal-dec.c
index 6069edcea42..93633ff7d23 100644
--- a/libavdevice/openal-dec.c
+++ b/libavdevice/openal-dec.c
@@ -25,6 +25,7 @@
 #include <AL/alc.h>
 
 #include "libavutil/opt.h"
+#include "libavutil/time.h"
 #include "libavformat/internal.h"
 #include "avdevice.h"
 
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 2a3f756cc4e..dec82b6568c 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -55,6 +55,7 @@
 #include "timefilter.h"
 #include "libavutil/parseutils.h"
 #include "libavutil/pixdesc.h"
+#include "libavutil/time.h"
 #include "libavutil/avstring.h"
 
 #if CONFIG_LIBV4L2
diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index 8b35fb18a94..0d792e75b42 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -21,6 +21,7 @@
 #include "avformat.h"
 #include "libavutil/parseutils.h"
 #include "libavutil/opt.h"
+#include "libavutil/time.h"
 #include "internal.h"
 #include "network.h"
 #include "os_support.h"
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 184ab81884b..e8a01dbd286 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -34,6 +34,7 @@
 #include "libavutil/avstring.h"
 #include "libavutil/opt.h"
 #include "libavutil/log.h"
+#include "libavutil/time.h"
 #include "internal.h"
 #include "network.h"
 #include "os_support.h"
-- 
GitLab