2005-03-02 18:49:19 +01:00
|
|
|
$NetBSD: patch-ab,v 1.3 2005/03/02 17:50:18 rxg Exp $
|
2001-02-10 15:18:35 +01:00
|
|
|
|
2005-03-02 18:49:19 +01:00
|
|
|
--- cmp3.h.orig 2001-07-01 12:38:08.000000000 +0800
|
2002-02-24 23:36:48 +01:00
|
|
|
+++ cmp3.h
|
2005-03-02 18:49:19 +01:00
|
|
|
@@ -1,7 +1,7 @@
|
2001-02-10 15:18:35 +01:00
|
|
|
#ifndef _CMP3_H
|
|
|
|
#define _CMP3_H
|
|
|
|
|
2005-03-02 18:49:19 +01:00
|
|
|
-#if defined(__FreeBSD__)
|
2001-02-10 15:18:35 +01:00
|
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
2005-03-02 18:49:19 +01:00
|
|
|
#include <ncurses.h>
|
|
|
|
#include <termios.h>
|
|
|
|
#else
|
|
|
|
@@ -9,9 +9,6 @@
|
2002-02-24 23:36:48 +01:00
|
|
|
#endif
|
2001-02-10 15:18:35 +01:00
|
|
|
|
2005-03-02 18:49:19 +01:00
|
|
|
|
|
|
|
-#ifndef NCURSES_VERSION
|
|
|
|
- #error "This program requires ncurses to function"
|
|
|
|
-#endif
|
|
|
|
|
2002-02-24 23:36:48 +01:00
|
|
|
#include <signal.h>
|
2005-03-02 18:49:19 +01:00
|
|
|
#include <dirent.h>
|