summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-ab
blob: 839f7c08659ee87e8fd43e5032bcf12a392a4ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.2 1999/03/05 11:22:34 frueauf Exp $

--- routines/graphics/periFig.c.orig	Sun Dec 13 21:20:36 1998
+++ routines/graphics/periFig.c	Sun Dec 13 21:21:44 1998
@@ -47,5 +47,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