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

Jonathan Nieder jrnieder@gmail.com
Thu Oct 27 13:51:00 GMT 2011


Hi again,

To recap, as Josh Triplett reports, compiling a source file with just
the text

	#include <sys/timerfd.h>

without __USE_POSIX199309 produces an error without further
explanation.

	sys/timerfd.h:46:28: error: unknown type name ‘clockid_t’

I sent three patches, any one of which would address that.

 - http://article.gmane.org/gmane.comp.lib.glibc.alpha/16687
 - http://article.gmane.org/gmane.comp.lib.glibc.alpha/16806
 - http://article.gmane.org/gmane.comp.lib.glibc.alpha/16828

As far as I can tell, any one of these would be beneficial, and none
of them has any noticeable downside.  What can I do to move this
forward?

Thanks for keeping glibc in good shape.
Jonathan



More information about the Libc-alpha mailing list