From patchwork Mon Sep 4 20:04:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: coypu X-Patchwork-Id: 22616 Received: (qmail 46406 invoked by alias); 4 Sep 2017 20:04:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 46395 invoked by uid 89); 4 Sep 2017 20:04:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1637 X-HELO: mx.sdf.org Received: from mx.sdf.org (HELO mx.sdf.org) (205.166.94.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Sep 2017 20:04:32 +0000 Received: from sdf.org (IDENT:coypu@sdf.lonestar.org [205.166.94.15]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id v84K4GbS011705 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Mon, 4 Sep 2017 20:04:16 GMT Received: (from coypu@localhost) by sdf.org (8.15.2/8.12.8/Submit) id v84K4Gax008057; Mon, 4 Sep 2017 20:04:16 GMT Date: Mon, 4 Sep 2017 20:04:16 +0000 From: coypu@sdf.org To: John Baldwin Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH v2 0/2] Various build fixes for NetBSD Message-ID: <20170904200416.GA5610@SDF.ORG> References: <20170725165051.9132-1-jhb@FreeBSD.org> <4e0601ae-32eb-9e6a-1a64-df588e58a2c2@redhat.com> <1618758.R810WcpHCu@ralph.baldwin.cx> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1618758.R810WcpHCu@ralph.baldwin.cx> User-Agent: Mutt/1.8.3 (2017-05-23) Hi, I've needed amendments to patch #3, and an additional patch. The additional patch is needed as kamil had removed sys/user.h in netbsd. Thank you. From 147b605f040889110fc47bf6b9d2b00af7317958 Mon Sep 17 00:00:00 2001 From: coypu Date: Mon, 4 Sep 2017 22:59:17 +0300 Subject: [PATCH 1/2] Use existing configure test to guard inclusion of sys/user.h --- gdb/bsd-kvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index f872fc084..67f7e5113 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -37,7 +37,9 @@ #include "readline/readline.h" #include #include +#ifdef HAVE_SYS_USER_H #include +#endif #include "bsd-kvm.h"