--- libgimp/gimp.c.orig	Fri May 12 12:37:27 2000
+++ libgimp/gimp.c	Thu May 18 16:42:21 2000
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <floatingpoint.h>
 
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
@@ -211,6 +212,9 @@
     }
 
   progname = argv[0];
+
+  /* Ignore floating point exceptions */
+  fpsetmask(0);
 
   g_set_prgname (g_basename (progname));
