summaryrefslogtreecommitdiff
path: root/audio/cmp3/patches/patch-ab
blob: 81d91deadb029980511fefd9eccd657c31490611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.3 2005/03/02 17:50:18 rxg Exp $

--- cmp3.h.orig	2001-07-01 12:38:08.000000000 +0800
+++ cmp3.h
@@ -1,7 +1,7 @@
 #ifndef _CMP3_H
 #define _CMP3_H
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <ncurses.h>
 #include <termios.h>
 #else
@@ -9,9 +9,6 @@
 #endif
 
 
-#ifndef NCURSES_VERSION
-  #error "This program requires ncurses to function"
-#endif
 
 #include <signal.h>
 #include <dirent.h>