]> diplodocus.org Git - nmh/commitdiff
Try including termcap.h before curses.h to see if that solves
authorDavid Levine <levinedl@acm.org>
Wed, 1 Jan 2014 19:16:48 +0000 (13:16 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 1 Jan 2014 19:16:48 +0000 (13:16 -0600)
the tputs() mismatch on Solaris.

sbr/fmt_compile.c

index 4ae85bc..38e189a 100644 (file)
 #include <h/mts.h>
 #include <h/utils.h>
 
+#if defined HAVE_NCURSES_TERMCAP_H
+# include <ncurses/termcap.h>
+#elif defined HAVE_TERMCAP_H
+# include <termcap.h>
+#endif
 #include <curses.h>
 #include <term.h>