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.
*/
#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>