From: Andreas Jaeger <aj@suse.de>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Ulrich Drepper <drepper@redhat.com>,
Roland McGrath <roland@redhat.com>,
Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] sys/stat.h fix
Date: Thu, 02 Jan 2003 07:51:00 -0000 [thread overview]
Message-ID: <u8vg18c7lf.fsf@gromit.moeb> (raw)
In-Reply-To: <20030101231340.J1310@sunsite.ms.mff.cuni.cz> (Jakub Jelinek's message of "Wed, 1 Jan 2003 23:13:40 +0100")
Jakub Jelinek <jakub@redhat.com> writes:
> Hi!
>
> echo '#include <sys/stat.h>' | gcc -c -xc -
> fails with:
> In file included from /usr/include/sys/stat.h:101,
> from <stdin>:1:
> /usr/include/bits/stat.h:70: field `st_atim' has incomplete type
> /usr/include/bits/stat.h:71: field `st_mtim' has incomplete type
> /usr/include/bits/stat.h:72: field `st_ctim' has incomplete type
>
> The problem is that time.h is included in sys/stat.h only if
> __USE_XOPEN. The following patch reorganizes it so that
> time.h is included even if defined __USE_MISC && !defined __USE_XOPEN
> (in that case just with __need_timespec defined).
Thanks, committed,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
next prev parent reply other threads:[~2003-01-02 7:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-01 22:13 Jakub Jelinek
2003-01-02 7:51 ` Andreas Jaeger [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-06-30 14:17 Jakub Jelinek
2000-06-30 22:01 ` Ulrich Drepper
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=u8vg18c7lf.fsf@gromit.moeb \
--to=aj@suse.de \
--cc=drepper@redhat.com \
--cc=jakub@redhat.com \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@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).