public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] Add system includes in sim
Date: Thu, 08 Apr 2021 12:32:47 -0600	[thread overview]
Message-ID: <87y2dsk4og.fsf@tromey.com> (raw)
In-Reply-To: <YG9Aw7RqreWqbdLn@vapier> (Mike Frysinger's message of "Thu, 8 Apr 2021 13:43:31 -0400")

>> * func.c: Include sys/time.h.

Mike> this one isn't in C99.  we seem to sometimes protect against it, but not
Mike> always.  if we go by gnulib's notes, it seems like we should just assume
Mike> it everywhere.  wdyt ?
Mike> https://www.gnu.org/software/gnulib/manual/html_node/sys_002ftime_002eh.html#sys_002ftime_002eh

Makes sense to me.

Also, BFD removed the check for time.h, among other things, in commit
83c79df86.  If BFD can remove it, I think it's fine.

Tom

  reply	other threads:[~2021-04-08 18:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 16:44 [PATCH 0/2] Fix some sim warnings Tom Tromey
2021-04-08 16:44 ` [PATCH 1/2] Do not use old-style definitions in sim Tom Tromey
2021-04-08 17:44   ` Mike Frysinger
2021-04-08 16:44 ` [PATCH 2/2] Add system includes " Tom Tromey
2021-04-08 17:43   ` Mike Frysinger
2021-04-08 18:32     ` Tom Tromey [this message]
2021-04-08 18:43       ` Tom Tromey
2021-04-08 19:26       ` Mike Frysinger
2021-04-08 19:30         ` Tom Tromey
2021-04-08 20:12           ` Mike Frysinger
2021-04-08 20:34       ` Tom Tromey
2021-04-08 20:58         ` Mike Frysinger

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=87y2dsk4og.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /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).