summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
authorAndoni Morales <ylatuya at gmail.com>2009-06-29 12:23:59 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-06-29 12:24:42 +0200
commitf1e88bde0f878372791be35b248cf25b1af6c924 (patch)
treefdd60790563b2cfd2bbc4dcfb2aea6294d1c77d6 /ext/sdl
parent0647d963ef5abcbbe4edbc5a80b87bf84470c6b3 (diff)
downloadgst-plugins-bad-f1e88bde0f878372791be35b248cf25b1af6c924.tar.gz
gst-plugins-bad-f1e88bde0f878372791be35b248cf25b1af6c924.tar.bz2
gst-plugins-bad-f1e88bde0f878372791be35b248cf25b1af6c924.zip
sdl: only include sys/time.h when we have it
Fixes #586956
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 85f26534..22c7aa5e 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -25,7 +25,9 @@
#include <signal.h>
#include <string.h>
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#include <stdlib.h>
#include <gst/interfaces/xoverlay.h>