*** xcircuit.c.orig	Tue Jun 26 22:34:15 2001
--- xcircuit.c	Sat Jun 30 12:53:00 2001
***************
*** 21,26 ****
--- 21,29 ----
  #include <limits.h>
  #include <locale.h>
  #include <unistd.h>   /* for unlink() */
+ #ifdef __FreeBSD__
+ #include <machine/floatingpoint.h>
+ #endif
  
  #include <X11/Intrinsic.h>
  #include <X11/StringDefs.h>
***************
*** 1685,1690 ****
--- 1688,1697 ----
     char		*argv0;		/* find root of argv[0] */
     short initargc = argc;	/* because XtInitialize() absorbs the     */
     				/* -schem flag and renumbers argc! (bug?) */
+ 
+ #ifdef __FreeBSD__
+    fpsetmask(0);
+ #endif
  
     /*-----------------------------------------------------------*/
     /* Find the root of the command called from the command line */
