Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/tui] (solaris) Fix tui.c build failure
@ 2004-02-26  1:25 Joel Brobecker
  2004-02-26  1:41 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2004-02-26  1:25 UTC (permalink / raw)
  To: gdb-patches

[-- 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"
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-26  2:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26  1:25 [RFA/tui] (solaris) Fix tui.c build failure Joel Brobecker
2004-02-26  1:41 ` Andrew Cagney
2004-02-26  1:47   ` Andrew Cagney
2004-02-26  2:11   ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox