$NetBSD: patch-ab,v 1.1.1.1 2001/02/10 14:18:35 hubertf Exp $

--- cmp3.h.orig	Fri Mar 17 09:14:10 2000
+++ cmp3.h	Fri Feb  9 23:26:16 2001
@@ -1,7 +1,12 @@
 #ifndef _CMP3_H
 #define _CMP3_H
 
-#include<curses.h>
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <ncurses.h>
+#include <termios.h>
+#else
+#include <curses.h>
+#endif
 
 #ifndef NCURSES_VERSION
   #error "This program requires ncurses to function"
