mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
include curses.h when needed
This commit is contained in:
parent
fca3e83e68
commit
7bac5eb762
3 changed files with 31 additions and 4 deletions
|
|
@ -13,6 +13,9 @@ inline static int term_putchar(int c)
|
|||
}
|
||||
|
||||
#ifdef HAVE_TERM_H
|
||||
#ifdef NEED_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#include <term.h>
|
||||
#else
|
||||
/* Don't bother including curses.h because of these -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue