--- configure.orig.bak	Fri Feb 12 13:59:51 1999
+++ configure	Sat Feb 13 18:00:01 1999
@@ -1725,6 +1725,9 @@
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $ac_func();
+#ifdef __FreeBSD__
+#define bkgdset initscr
+#endif
 
 int main() {
 
