From patchwork Thu Jun 11 10:02:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 7107 Received: (qmail 24747 invoked by alias); 11 Jun 2015 10:02:15 -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 24732 invoked by uid 89); 11 Jun 2015 10:02:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Jun 2015 10:02:13 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 948B3BAEDC for ; Thu, 11 Jun 2015 10:02:12 +0000 (UTC) Received: from blade.nx (ovpn-116-112.ams2.redhat.com [10.36.116.112]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5BA2B1g016410 for ; Thu, 11 Jun 2015 06:02:12 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id 64690262FB5 for ; Thu, 11 Jun 2015 11:02:11 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [OB PATCH] Fix ARI warning in linux-namespaces.c Date: Thu, 11 Jun 2015 11:02:09 +0100 Message-Id: <1434016929-24009-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes Hi all, This commit fixes the following ARI warning: gdb/nat/linux-namespaces.c:28: regression: Do not include wait.h or sys/wait.h, instead include gdb_wait.h Pushed as obvious. Cheers, Gary --- gdb/ChangeLog: * nat/linux-namespaces.c (gdb_wait.h): New include. (sys/wait.h): Do not include. --- gdb/ChangeLog | 5 +++++ gdb/nat/linux-namespaces.c | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c index f710c03..98ae104 100644 --- a/gdb/nat/linux-namespaces.c +++ b/gdb/nat/linux-namespaces.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include "gdb_wait.h" #include #include