blob: a2c3be876dc4690d1cc8a99ac196fe1b4c68bf07 (
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
26
27
28
|
$NetBSD: patch-aa,v 1.3 2001/02/08 13:46:04 wiz Exp $
--- cursesterm.cc.orig Mon Apr 5 18:25:45 1999
+++ cursesterm.cc
@@ -19,13 +19,23 @@
#include "config.h"
#include <assert.h>
#include <sys/time.h>
+#ifdef __NetBSD__
+#include <ncurses.h>
+#include <unistd.h>
+#else
#include <curses.h>
+#endif
#include <string.h>
#include <ctype.h>
#include "utility.h"
#include "displaybuf.h"
#include "terminal.h"
#include "cursesterm.h"
+
+/* workaround for NetBSD curses */
+#ifndef A_VERTICAL
+#define A_VERTICAL 0x2000
+#endif
/* Mapping of 5250 colors to curses colors */
#define A_5250_GREEN (COLOR_PAIR(COLOR_GREEN))
|