summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ba
blob: 0c604ada442454849de0ca7137b8cda100fdbdc8 (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
25
$NetBSD: patch-ba,v 1.3 2010/03/10 08:19:57 roy Exp $

--- Src/Modules/termcap.c.orig	2010-03-10 07:58:25.000000000 +0000
+++ Src/Modules/termcap.c	2010-03-10 07:58:35.000000000 +0000
@@ -55,14 +55,12 @@
 #  ifdef HAVE_TERMIO_H
 #   include <termio.h>
 #  endif
-#  ifdef TERM_H_NEEDS_CURSES_H
-#   include <curses.h>
-#  endif
-#  include <term.h>
-# else
-#  ifdef USES_TERMCAP_H
-#   include <termcap.h>
-#  endif
+# endif
+# ifdef TERM_H_NEEDS_CURSES_H
+#  include <curses.h>
+# endif
+# ifdef HAVE_TERMCAP_H
+#  include <termcap.h>
 # endif
 
 static Param termcap_pm;