From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21991 invoked by alias); 6 Mar 2012 12:15:46 -0000 Received: (qmail 21971 invoked by uid 22791); 6 Mar 2012 12:15:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Mar 2012 12:15:31 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Mar 2012 12:15:30 -0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (9.149.39.225) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 6 Mar 2012 12:15:28 -0000 Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q26CFRKE2015278 for ; Tue, 6 Mar 2012 12:15:28 GMT Received: from d06av08.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q26CFQ6B028417 for ; Tue, 6 Mar 2012 05:15:27 -0700 Received: from BR87Z6LW (dyn-9-152-212-27.boeblingen.de.ibm.com [9.152.212.27]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q26CFPgD028345; Tue, 6 Mar 2012 05:15:26 -0700 From: Andreas Arnez To: Pedro Alves Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [PATCH] s390-nat.c: Fix missing prototypes References: <8762ejrlqv.fsf@vnet.ibm.com> <20120305190642.GJ2853@adacore.com> <87ipiigiup.fsf@linux.vnet.ibm.com> <4F55E636.8040501@redhat.com> <8762eigdxh.fsf@linux.vnet.ibm.com> <4F55FA6F.2090203@redhat.com> Date: Tue, 06 Mar 2012 12:15:00 -0000 In-Reply-To: <4F55FA6F.2090203@redhat.com> (Pedro Alves's message of "Tue, 06 Mar 2012 11:52:15 +0000") Message-ID: <871up6gc2q.fsf@linux.vnet.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii x-cbid: 12030612-5024-0000-0000-000001E60A6D X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00188.txt.bz2 Pedro Alves writes: > Builds fine on x64-64 Fedora, [...] > Comments, anyone? Builds fine on s390x. > > 2012-03-06 Pedro Alves > > * gregset.h [HAVE_SYS_PROCFS_H]: Include . > > --- > > gdb/gregset.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/gdb/gregset.h b/gdb/gregset.h > index 4f34788..d73b5b8 100644 > --- a/gdb/gregset.h > +++ b/gdb/gregset.h > @@ -19,6 +19,10 @@ > #ifndef GREGSET_H > #define GREGSET_H > > +#ifdef HAVE_SYS_PROCFS_H > +#include > +#endif > + > #ifndef GDB_GREGSET_T > #define GDB_GREGSET_T gregset_t > #endif