diff options
author | Andoni Morales <ylatuya at gmail.com> | 2009-06-29 12:23:59 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-06-29 12:24:42 +0200 |
commit | f1e88bde0f878372791be35b248cf25b1af6c924 (patch) | |
tree | fdd60790563b2cfd2bbc4dcfb2aea6294d1c77d6 /ext/sdl | |
parent | 0647d963ef5abcbbe4edbc5a80b87bf84470c6b3 (diff) | |
download | gstreamer-plugins-bad-f1e88bde0f878372791be35b248cf25b1af6c924.tar.gz |
sdl: only include sys/time.h when we have it
Fixes #586956
Diffstat (limited to 'ext/sdl')
-rw-r--r-- | ext/sdl/sdlvideosink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 85f265348..22c7aa5e2 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> |