GNOME Bugzilla – Bug 705208
[dvbsrc] should check if _XOPEN_SOURCE is already defined
Last modified: 2013-08-03 17:14:41 UTC
Created attachment 250557 [details] [review] check if _GNU_SOURCE before to define _XOPEN_SOURCE When _GNU_SOURCE is defined I fail to build dvbsrc: "error: previous definition" It should check if _GNU_SOURCE before to define _XOPEN_SOURCE
The real question is ... do we still need that define in 2013 ? :)
Let's try this and see if it causes any problems. commit 933965984f96ed231f69996ebbdd4adad5da234d Author: Tim-Philipp Müller <tim@centricular.net> Date: Sat Aug 3 18:07:30 2013 +0100 dvbsrc: remove use of _XOPEN_SOURCE Which causes problems when used with _GNU_SOURCE apparently, and it seems it was only set because of usleep(), which we can just replace with g_usleep() until we get rid of those entirely. https://bugzilla.gnome.org/show_bug.cgi?id=705208