pkgsrc/audio/cmp3/patches/patch-ab

21 lines
414 B
Text
Raw Normal View History

2002-02-24 23:36:48 +01:00
$NetBSD: patch-ab,v 1.2 2002/02/24 22:36:49 wiz Exp $
2002-02-24 23:36:48 +01:00
--- cmp3.h.orig Fri Mar 17 02:14:10 2000
+++ cmp3.h
@@ -1,10 +1,11 @@
#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"
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <ncurses.h>
+#include <termios.h>
+#else
+#include <curses.h>
2002-02-24 23:36:48 +01:00
#endif
2002-02-24 23:36:48 +01:00
#include <signal.h>