summaryrefslogtreecommitdiff
path: root/audio/timidity/patches/patch-ba
blob: 470fe16326b8cd709744d0822a7a4ab2a7b91485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- config.h.orig	Sat Jun  1 08:54:49 1996
+++ config.h	Sat Mar  7 13:17:30 1998
@@ -325,6 +325,18 @@
   #define rindex(s,c) strrchr(s,c)
 #endif
 
+#ifdef __NetBSD__
+#  include <errno.h>
+#  include <math.h>
+#  define PI M_PI
+#endif
+
+#ifdef sgi
+#  include <errno.h>
+#  include <math.h>
+#  define PI M_PI
+#endif
+
 #ifdef __WIN32__
 #  include <math.h>
 #  define PI M_PI