Could it make sense to define this at the same time as _GNU_SOURCE et
al?
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1
#define _SGI_SOURCE 1
#define _WIN32_WINNT 0x0502
Haven't thought carefully about the consequences, though; your patch
is probably safer.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html