From: Thorsten Kukuk <kukuk@suse.de>
To: libc-hacker@sources.redhat.com
Subject: Re: _GNU_SOURCE and sys/poll.h
Date: Sat, 21 Jan 2006 09:42:00 -0000 [thread overview]
Message-ID: <20060121094423.GA27795@suse.de> (raw)
In-Reply-To: <43D1FE90.3020006@redhat.com>
On Sat, Jan 21, Ulrich Drepper wrote:
> Thorsten Kukuk wrote:
> > Attached a fix for that.
>
> No. This should not be necessary. <time.h> must be adjusted.
This works for me, too:
2006-01-21 Thorsten Kukuk <kukuk@suse.de>
* time/time.h: declare time_t if __need_timespec is defined.
--- time/time.h
+++ time/time.h 2006/01/21 09:42:09
@@ -66,7 +66,8 @@
#endif /* clock_t not defined and <time.h> or need clock_t. */
#undef __need_clock_t
-#if !defined __time_t_defined && (defined _TIME_H || defined __need_time_t)
+#if !defined __time_t_defined && \
+ (defined _TIME_H || defined __need_time_t || defined __need_timespec)
# define __time_t_defined 1
# include <bits/types.h>
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
next prev parent reply other threads:[~2006-01-21 9:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-21 8:51 Thorsten Kukuk
2006-01-21 9:26 ` Ulrich Drepper
2006-01-21 9:42 ` Thorsten Kukuk [this message]
2006-01-21 19:34 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060121094423.GA27795@suse.de \
--to=kukuk@suse.de \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).