This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Make sys/timerfd.h usable without __USE_POSIX199309
- From: Jonathan Nieder <jrnieder at gmail dot com>
- To: libc-alpha at sourceware dot org
- Cc: Ulrich Drepper <drepper at gmail dot com>,Roland McGrath <roland at hack dot frob dot com>,Josh Triplett <josh at joshtriplett dot org>
- Date: Sat, 15 Oct 2011 01:46:21 -0500
- Subject: Re: [PATCH] Make sys/timerfd.h usable without __USE_POSIX199309
- References: <20110914033839.4277.94420.reportbug@leaf><20110914050207.GA2884@elie>
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