--- ./routines/graphics/Plo3d.c.orig	Sun Dec 13 21:22:37 1998
+++ ./routines/graphics/Plo3d.c	Sun Dec 13 21:24:01 1998
@@ -16,5 +16,11 @@
 #define M_PI	3.14159265358979323846
 #else
+#if defined(HAVE_VALUES_H)
 #include <values.h>
+#else
+#ifndef M_PI
+#define M_PI    3.14159265358979323846 
+#endif
+#endif
 #endif
 
