pkgsrc/devel/cdk/patches/patch-ac
1999-11-10 10:48:29 +00:00

29 lines
547 B
Text

$NetBSD: patch-ac,v 1.4 1999/11/10 10:48:30 agc Exp $
--- include/cdk.h.orig Wed Dec 9 17:13:17 1998
+++ include/cdk.h Wed Nov 10 10:26:45 1999
@@ -38,7 +38,15 @@
#undef instr
#endif
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/stat.h>
+
+#if (defined(BSD) && BSD >= 199306)
+#include <ncurses.h>
+#else
#include <curses.h>
+#endif
#include <stdlib.h>
#include <string.h>
@@ -49,8 +57,6 @@
#include <errno.h>
#include <pwd.h>
#include <grp.h>
-#include <sys/stat.h>
-#include <sys/types.h>
#include <math.h>
/*