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.
|
SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <Lmcons.h>
|
#include <Lmcons.h>
|
||||||
|
|
@ -55,10 +59,10 @@
|
||||||
|
|
||||||
#if defined(__INTERIX) || defined(__MSYS__)
|
#if defined(__INTERIX) || defined(__MSYS__)
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
#else
|
#elif defined(HAVE_NCURSES_TERM_H)
|
||||||
#ifdef NCURSES_VERSION
|
|
||||||
#include <ncurses/term.h>
|
#include <ncurses/term.h>
|
||||||
#endif
|
#else
|
||||||
|
#include <term.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue