--- src.orig/src/dpe.h	2009-05-21 00:45:31.888271000 -0400
+++ src/src/dpe.h	2009-05-21 00:44:52.352752000 -0400
@@ -25,6 +25,9 @@
 #include <math.h>   /* for round, floor, ceil */
 #if defined (__sun) /* for round on Solaris 10 */ 
 #include "tgmath.h" 
+#include "ieeefp.h"
+#undef NAN
+#define NAN 0.0/0.0
 #endif 
 #include <limits.h>
 
