From 0d5d7b56d40bcc37ae0e83495b3a0c45d0ce734f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 4 Mar 2012 17:50:39 -0800 Subject: [PATCH] Include either or but not both. --- src/microcode/tterm.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 *); -- 2.25.1