2002-02-24 23:36:48 +01:00
|
|
|
$NetBSD: patch-ab,v 1.2 2002/02/24 22:36:49 wiz Exp $
|
2001-02-10 15:18:35 +01:00
|
|
|
|
2002-02-24 23:36:48 +01:00
|
|
|
--- cmp3.h.orig Fri Mar 17 02:14:10 2000
|
|
|
|
+++ cmp3.h
|
|
|
|
@@ -1,10 +1,11 @@
|
2001-02-10 15:18:35 +01:00
|
|
|
#ifndef _CMP3_H
|
|
|
|
#define _CMP3_H
|
|
|
|
|
|
|
|
-#include<curses.h>
|
2002-02-24 23:36:48 +01:00
|
|
|
-
|
|
|
|
-#ifndef NCURSES_VERSION
|
|
|
|
- #error "This program requires ncurses to function"
|
2001-02-10 15:18:35 +01:00
|
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
|
|
+#include <ncurses.h>
|
|
|
|
+#include <termios.h>
|
|
|
|
+#else
|
|
|
|
+#include <curses.h>
|
2002-02-24 23:36:48 +01:00
|
|
|
#endif
|
2001-02-10 15:18:35 +01:00
|
|
|
|
2002-02-24 23:36:48 +01:00
|
|
|
#include <signal.h>
|