From: Gerd Moellmann Date: Mon, 26 Feb 2001 12:17:18 +0000 (+0000) Subject: Check HAVE_TERM_H before including term.h. X-Git-Tag: emacs-pretest-21.0.99~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=da024910ccdb5c85a9fde5e42d24199bac98d092;p=emacs.git Check HAVE_TERM_H before including term.h. --- diff --git a/src/dispnew.c b/src/dispnew.c index 2823b79c7b2..7a289758032 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1,5 +1,5 @@ /* Updating of data structures for redisplay. - Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000 + Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */ #endif #endif /* not __GNU_LIBRARY__ */ -#if defined (LINUX) && defined (HAVE_LIBNCURSES) +#if defined(HAVE_TERM_H) && defined (LINUX) && defined (HAVE_LIBNCURSES) #include /* for tgetent */ #endif