The __USE_GNU is internal glibc macro and should not be used directly. To properly obtain extra prototypes which are available in glibc the _GNU_SOURCE macro should be defined before including any glibc includes.
Created attachment 1030 [details] Proposed simple patch
Comment on attachment 1030 [details] Proposed simple patch Seems reasonable, any objections?
Unless there is a reason this needs to be done immediately, I'm going to leave it for now and apply it immediately after the 4.3 release.
It won't compile with glibc 2.4 without patching it.
In that case since no one objected I have applied the patch. Thanks.
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.