#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)));
+extern char *tgoto P_ ((const char *, int, int));
#endif
#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines
use about 2000.... */
-char *tgoto ();
-
extern char *BC, *UP;
int cost; /* sums up costs */