aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-11-21 12:05:08 +0000
committerGerd Moellmann <[email protected]>2000-11-21 12:05:08 +0000
commitff23e1dd170acbd8c702c5b81465c8b27d903f1f (patch)
tree72265a568740abd0025e9b95cfbf7a7f1a269301 /src
parent64566c039ed52aba60c12f0e3b79fa2b7c1a7d7e (diff)
Don't try to include termcap.h; see comment there.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/cm.c6
-rw-r--r--src/term.c6
3 files changed, 14 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 07b35a0ed9..8caa4e4ea1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-21 Gerd Moellmann <[email protected]>
+
+ * term.c, cm.c: Don't try to include termcap.h; see comment there.
+
2000-11-21 Kenichi Handa <[email protected]>
* s/sol2-5.h: Move #undef USE_MMAP_FOR_BUFFERS out of #if 0
diff --git a/src/cm.c b/src/cm.c
index 144baa847b..56a1160c59 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -25,7 +25,11 @@ Boston, MA 02111-1307, USA. */
#include "cm.h"
#include "termhooks.h"
-#ifdef HAVE_TERMCAP_H
+/* For now, don't try to include termcap.h. On some systems,
+ configure finds a non-standard termcap.h that the main build
+ won't find. */
+
+#if defined HAVE_TERMCAP_H && 0
#include <termcap.h>
#else
extern void tputs P_ ((const char *, int, int (*)(int)));
diff --git a/src/term.c b/src/term.c
index fc96d7d712..8e1443f450 100644
--- a/src/term.c
+++ b/src/term.c
@@ -38,7 +38,11 @@ Boston, MA 02111-1307, USA. */
#include "dispextern.h"
#include "window.h"
-#ifdef HAVE_TERMCAP_H
+/* For now, don't try to include termcap.h. On some systems,
+ configure finds a non-standard termcap.h that the main build
+ won't find. */
+
+#if defined HAVE_TERMCAP_H && 0
#include <termcap.h>
#else
extern void tputs P_ ((const char *, int, int (*)(int)));