From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA/tui] (solaris) Fix tui.c build failure
Date: Thu, 26 Feb 2004 01:25:00 -0000 [thread overview]
Message-ID: <20040226012508.GB3425@gnat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Hello,
Peter Schauer (<schauer@pdf.de>) 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 <brobecker@gnat.com>
From Peter Schauer <schauer@pdf.de>:
* tui/tui.c: Move system header includes after local includes.
Fixes a build failure on solaris systems.
OK to apply?
Thanks,
--
Joel
[-- Attachment #2: tui-solaris.diff --]
[-- Type: text/plain, Size: 942 bytes --]
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 <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#ifdef HAVE_TERM_H
-#include <term.h>
-#endif
-#include <signal.h>
-#include <fcntl.h>
-#if 0
-#include <termio.h>
-#endif
-#include <setjmp.h>
#include "defs.h"
#include "gdbcmd.h"
#include "tui/tui.h"
@@ -53,6 +41,19 @@
#include "inferior.h"
#include "symtab.h"
#include "source.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <ctype.h>
+#ifdef HAVE_TERM_H
+#include <term.h>
+#endif
+#include <signal.h>
+#include <fcntl.h>
+#if 0
+#include <termio.h>
+#endif
+#include <setjmp.h>
#include "gdb_curses.h"
next reply other threads:[~2004-02-26 1:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 1:25 Joel Brobecker [this message]
2004-02-26 1:41 ` Andrew Cagney
2004-02-26 1:47 ` Andrew Cagney
2004-02-26 2:11 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040226012508.GB3425@gnat.com \
--to=brobecker@gnat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox