[PATCH] Make sys/timerfd.h usable without __USE_POSIX199309

Jonathan Nieder jrnieder@gmail.com
Sat Oct 15 15:37:00 GMT 2011


Jonathan Nieder wrote:

> How about this patch?
>
> 2011-09-13  Jonathan Nieder  <jrnieder@gmail.com>
>
> 	* sysdeps/unix/sysv/linux/sys/timerfd.h (timerfd_create): Use
> 	__clockid_t instead of clockid_t.
> 	* sysdeps/unix/sysv/linux/sparc/sys/timerfd.h (timerfd_create):
> 	Likewise.

Ping?  clockid_t is not available unless the appropriate feature test
macro is defined, but sys/timerfd.h should be usable without.  This
patch[1] works for me, and Josh seemed to like it, too.

[1] http://article.gmane.org/gmane.comp.lib.glibc.alpha/16687



More information about the Libc-alpha mailing list