From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27826 invoked by alias); 26 Feb 2004 01:25:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27817 invoked from network); 26 Feb 2004 01:25:08 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 26 Feb 2004 01:25:08 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 780AB47D62; Wed, 25 Feb 2004 17:25:08 -0800 (PST) Date: Thu, 26 Feb 2004 01:25:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/tui] (solaris) Fix tui.c build failure Message-ID: <20040226012508.GB3425@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8GpibOaaTibBMecb" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-02/txt/msg00747.txt.bz2 --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 596 Hello, Peter Schauer () sent me the following patch that fixes the build failure on x86-solaris 8 and sparc-solaris 7. I tested it on solaris 8. I simply moves the system header includes past the local includes, and in particular past the "defs.h" include. Peter is too busy submitting this patch, so he asked me to do it for him. 2004-02-25 J. Brobecker From Peter Schauer : * tui/tui.c: Move system header includes after local includes. Fixes a build failure on solaris systems. OK to apply? Thanks, -- Joel --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tui-solaris.diff" Content-length: 942 Index: tui.c =================================================================== RCS file: /cvs/src/src/gdb/tui/tui.c,v retrieving revision 1.47 diff -u -r1.47 tui.c --- tui.c 18 Feb 2004 17:24:36 -0000 1.47 +++ tui.c 26 Feb 2004 01:24:18 -0000 @@ -22,18 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include -#include -#ifdef HAVE_TERM_H -#include -#endif -#include -#include -#if 0 -#include -#endif -#include #include "defs.h" #include "gdbcmd.h" #include "tui/tui.h" @@ -53,6 +41,19 @@ #include "inferior.h" #include "symtab.h" #include "source.h" + +#include +#include +#include +#ifdef HAVE_TERM_H +#include +#endif +#include +#include +#if 0 +#include +#endif +#include #include "gdb_curses.h" --8GpibOaaTibBMecb--