add nonstandard timespec/timeval conversion macros in sys/time.h
authorRich Felker <dalias@aerifal.cx>
Wed, 5 Feb 2014 21:34:23 +0000 (16:34 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 5 Feb 2014 21:34:23 +0000 (16:34 -0500)
commitad87c2eecf70c6f2852a4908b04a6329cbebaf7d
treec9686b113ecb2c703c4af2d4a898510e10545835
parenta0351ee6a7b795808aa20c4b607bc7a0379422ef
add nonstandard timespec/timeval conversion macros in sys/time.h

these are poorly designed (illogical argument order) and even poorly
implemented (brace issues) on glibc, but unfortunately some software
is using them. we could consider removing them again in the future at
some point if they're documented as deprecated, but for now the
simplest thing to do is just to provide them under _GNU_SOURCE.
include/sys/time.h