sdl: only include sys/time.h when we have it

Fixes #586956
This commit is contained in:
Andoni Morales 2009-06-29 12:23:59 +02:00 committed by Wim Taymans
parent 0647d963ef
commit f1e88bde0f

View file

@ -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>