aboutsummaryrefslogtreecommitdiffstats
path: root/cad/xcircuit/files/patch-ab
blob: f9d849eaba210ed8a67aca1bd637d022b7c47c46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- xcircuit.c.orig	Thu May 21 16:43:03 1998
+++ xcircuit.c	Tue Jan 26 18:20:21 1999
@@ -30,6 +30,9 @@
 #include <sys/stat.h>
 #include <errno.h>
 #include <limits.h>
+#ifdef __FreeBSD__
+#include <machine/floatingpoint.h>
+#endif
 
 #undef FUNCPROTO
 #include <X11/Intrinsic.h>
@@ -3575,6 +3578,10 @@
    Arg		wargs[12];
    short i, j, k = 0, n = 0, maxbuttons, maxcolors;
    objectptr	*page;
+
+#ifdef __FreeBSD__
+   fpsetmask(0);
+#endif
 
    /*---------------------------*/
    /* initialize user variables */