--- io-term.c.orig	Sat Jun  4 08:09:48 1994
+++ io-term.c	Fri Oct 31 14:33:55 1997
@@ -19,6 +19,10 @@
 #include <ctype.h>
 #include <stdio.h>
 
+#ifdef __FreeBSD__
+#include <floatingpoint.h>
+#endif
+
 #include "global.h"
 
 #include "basic.h"
@@ -1012,6 +1016,10 @@
   /* Set up the minimal io handler. */
 #if 0
   cmd_graphics ();
+#endif
+
+#ifdef __FreeBSD__
+  fpsetmask(0);
 #endif
 
   {
