]> diplodocus.org Git - nmh/commitdiff
I guess we can't include both termcap and terminfo headers on Solaris.
authorKen Hornstein <kenh@pobox.com>
Fri, 3 Jan 2014 05:30:15 +0000 (00:30 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 3 Jan 2014 05:30:15 +0000 (00:30 -0500)
sbr/terminal.c

index 7db83f0d430e5c2440b79627269022248a565aa4..f664d0cf90f0b0add699cf296101f86acf8bd662 100644 (file)
 #include <termios.h>
 #include <sys/ioctl.h>
 
 #include <termios.h>
 #include <sys/ioctl.h>
 
-/* It might be better to tie this to the termcap_curses_order in
-   configure.ac.  It would be fine to check for ncurses/termcap.h
-   first on Linux, it's a symlink to termcap.h.  */
-#ifdef HAVE_TERMCAP_H
-# include <termcap.h>
-#elif defined (HAVE_NCURSES_TERMCAP_H)
-# include <ncurses/termcap.h>
-#endif
-
 #include <curses.h>
 #include <term.h>
 
 #include <curses.h>
 #include <term.h>