From: Chris Hanson Date: Mon, 5 Mar 2012 01:50:39 +0000 (-0800) Subject: Include either or but not both. X-Git-Tag: release-9.2.0~279 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=0d5d7b56d40bcc37ae0e83495b3a0c45d0ce734f;p=mit-scheme.git Include either or but not both. --- diff --git a/src/microcode/tterm.c b/src/microcode/tterm.c index 4cc12a325..ee0d9a5f4 100644 --- a/src/microcode/tterm.c +++ b/src/microcode/tterm.c @@ -51,13 +51,10 @@ USA. macro expanding to a function call. WTF? Unix sucks. */ #undef ospeed -#if defined(HAVE_TERM_H) || defined(HAVE_TERMCAP_H) -# ifdef HAVE_TERM_H -# include -# endif -# ifdef HAVE_TERMCAP_H -# include -# endif +#if defined(HAVE_TERM_H) +# include +#elif defined(HAVE_TERMCAP_H) +# include #else extern int tgetent (char *, const char *); extern int tgetnum (const char *);