--- X11BSDstuff.c.orig	Thu Dec 23 16:46:58 1999
+++ X11BSDstuff.c	Thu Dec 23 16:59:36 1999
@@ -14,6 +14,9 @@
 #include "version.h"
 /***** probably needs to be protected by check that dirent is available */
 #include <dirent.h>
+#ifdef __FreeBSD__
+#include <floatingpoint.h>
+#endif
 
 extern VOID StPollEvent(V);
 extern int StBlockForInput(V);
@@ -51,6 +54,9 @@
 VOID osinit(name)
   char *name;
 {
+#ifdef __FreeBSD__
+  fpsetmask(0);
+#endif
   time_stamp = time((time_t *) 0);
   
   disable_interrupts();
