summaryrefslogtreecommitdiff
path: root/cad/xcircuit/files/patch-ab
blob: 6ee29df6739cf19ff4084cd675ffe3eb9a6a4fe7 (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
24
25
26
27
*** xcircuit.c.orig	Fri Jun 25 23:25:12 1999
--- xcircuit.c	Tue Sep  7 00:48:01 1999
***************
*** 17,22 ****
--- 17,25 ----
  #include <errno.h>
  #include <limits.h>
  #include <locale.h>
+ #ifdef __FreeBSD__
+ #include <machine/floatingpoint.h>
+ #endif
  
  #include <X11/Intrinsic.h>
  #include <X11/StringDefs.h>
***************
*** 1384,1389 ****
--- 1387,1396 ----
     objectptr	*page;		/* -schem flag and renumbers argc! (bug?) */
     Pixmap	icon, mask;
     char		*argv0;		/* find root of argv[0] */
+ 
+ #ifdef __FreeBSD__
+    fpsetmask(0);
+ #endif
  
     /*-----------------------------------------------------------*/
     /* Find the root of the command called from the command line */