]> diplodocus.org Git - nmh/commitdiff
That didn't work. Try including termcap.h first, instead of
authorDavid Levine <levinedl@acm.org>
Wed, 1 Jan 2014 19:21:56 +0000 (13:21 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 1 Jan 2014 19:21:56 +0000 (13:21 -0600)
ncurses/termcap.h.

sbr/fmt_compile.c

index 38e189a..a1defdd 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
+#if defined HAVE_TERMCAP_H
 # include <termcap.h>
+#elif defined HAVE_NCURSES_TERMCAP_H
+# include <ncurses/termcap.h>
 #endif
 #include <curses.h>
 #include <term.h>