arogue5: use configure's checks to find term.h.

This should make the build process work on OS X.
This commit is contained in:
John "Elwin" Edwards 2013-09-07 09:43:06 -04:00
parent 720d587422
commit ea75e2ac0b

View file

@ -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>