After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586956 - Include <sys/time.h> only if it is present in the system
Include <sys/time.h> only if it is present in the system
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.13
Other Windows
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-25 14:17 UTC by Andoni Morales
Modified: 2009-06-29 10:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andoni Morales 2009-06-25 14:17:53 UTC
sys/time.h is not present in all systems:

#ifdef HAVE_SYS_TIME_H 
#include <sys/time.h>
#endif
Comment 1 Andoni Morales 2009-06-25 14:20:54 UTC
In sdlvideosink.c
Comment 2 Wim Taymans 2009-06-29 10:25:22 UTC
commit f1e88bde0f878372791be35b248cf25b1af6c924
Author: Andoni Morales <ylatuya at gmail.com>
Date:   Mon Jun 29 12:23:59 2009 +0200

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