arogue5: use configure's checks to find term.h.
This should make the build process work on OS X.
This commit is contained in:
parent
720d587422
commit
ea75e2ac0b
1 changed files with 7 additions and 3 deletions
|
|
@ -29,6 +29,10 @@
|
|||
SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <Windows.h>
|
||||
#include <Lmcons.h>
|
||||
|
|
@ -55,10 +59,10 @@
|
|||
|
||||
#if defined(__INTERIX) || defined(__MSYS__)
|
||||
#include <term.h>
|
||||
#else
|
||||
#ifdef NCURSES_VERSION
|
||||
#elif defined(HAVE_NCURSES_TERM_H)
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
#else
|
||||
#include <term.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue