blob: def4f703cb4fa4d2c098b0cff67d2feb408aeeb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ac,v 1.7 2011/03/29 21:38:26 roy Exp $
--- termcap.c 2011-03-29 22:25:48.000000000 +0100
+++ termcap.c 2011-03-29 22:30:35.000000000 +0100
@@ -8,16 +8,9 @@
#include "types.h"
#ifdef TERMINFO
-
-#ifdef HAVE_CURSES_H
-#include <curses.h>
-#endif
-/* curses has to come before term.h on SGI */
-#ifdef HAVE_TERM_H
-/* term.h is a disaster: it #defines 'tab' */
-#include <term.h>
-#endif
-
+/* Even though we may configure and test for terminfo and curses
+ * we actually only use termcap */
+#include <termcap.h>
#endif
int dopadding = 0;
|