aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/xm-sun4sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/xm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/xm-sun4sol2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h
index 9aeac16..d96dde7 100644
--- a/gdb/config/sparc/xm-sun4sol2.h
+++ b/gdb/config/sparc/xm-sun4sol2.h
@@ -41,3 +41,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* solaris doesn't have siginterrupt, though it has sigaction; however,
in this case siginterrupt would just be setting the default. */
#define NO_SIGINTERRUPT
+
+/* On sol2.7, <curses.h> emits a bunch of 'macro redefined'
+ warnings, which makes autoconf think curses.h doesn't
+ exist. Compensate fot that here. */
+#define HAVE_CURSES_H 1