Commit da024910 authored by Gerd Moellmann's avatar Gerd Moellmann

Check HAVE_TERM_H before including term.h.

parent 12435002
/* 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 <term.h> /* for tgetent */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment