summaryrefslogtreecommitdiff
path: root/libavfilter/vf_drawtext.c
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-02-03 17:46:11 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-03 19:48:41 +0100
commit3e309c5d185bc0288e4c8cadf97c91c04806b875 (patch)
tree21374ebb3f2f2635d9b289ddf6dca6988805557b /libavfilter/vf_drawtext.c
parente9314f196880092e1177fd19ca00b01033362b0b (diff)
Fix compilation with msvc/icl due to missing header and define.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index c38439493a..1690b3896d 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -26,10 +26,12 @@
* filter by Gustavo Sverzut Barbieri
*/
+#include "config.h"
+#if HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#include <time.h>
-#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/common.h"