From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id swG6NslAb2AHFwAAWB0awg (envelope-from ) for ; Thu, 08 Apr 2021 13:43:37 -0400 Received: by simark.ca (Postfix, from userid 112) id CA9C21EE0E; Thu, 8 Apr 2021 13:43:37 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,RDNS_DYNAMIC, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 3B7561E01F for ; Thu, 8 Apr 2021 13:43:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B195D3947438; Thu, 8 Apr 2021 17:43:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B195D3947438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617903816; bh=181AxuMcp3Oo2GUZXbta5/wFjPVuFWgvw6jotX535Ng=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=kayzjinZt+1ep4Pxgq7vz4NmXpGltPDenafmfYozPBnNao159phcknwWJvaTgjbek HK7SZzud70rkA1VRZ2UcSiHDQAUFlfAn3HnHEH0l9Uaja++1J8uY11GgT03TlMcK0j jFT6YIZUGnoaWW9zHURFLvffzxPkQCSDO1gOdCmc= Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4B6B73945C38 for ; Thu, 8 Apr 2021 17:43:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4B6B73945C38 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AE62335C9A; Thu, 8 Apr 2021 17:43:32 +0000 (UTC) Date: Thu, 8 Apr 2021 13:43:31 -0400 To: Tom Tromey Subject: Re: [PATCH 2/2] Add system includes in sim Message-ID: Mail-Followup-To: Tom Tromey , gdb-patches@sourceware.org References: <20210408164436.2165323-1-tom@tromey.com> <20210408164436.2165323-3-tom@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210408164436.2165323-3-tom@tromey.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 08 Apr 2021 10:44, Tom Tromey wrote: > This updates various parts of the sim to include missing system > headers. I made the includes unconditional, because other parts of > the tree are already doing this. stdlib.h & time.h are fine as they're in C99. > * func.c: Include sys/time.h. this one isn't in C99. we seem to sometimes protect against it, but not always. if we go by gnulib's notes, it seems like we should just assume it everywhere. wdyt ? https://www.gnu.org/software/gnulib/manual/html_node/sys_002ftime_002eh.html#sys_002ftime_002eh -mike