| @@ -1,20 +1,23 @@ | | | @@ -1,20 +1,23 @@ |
1 | $NetBSD: patch-ab,v 1.8 2010/02/06 10:52:37 sno Exp $ | | 1 | $NetBSD: patch-ab,v 1.9 2010/03/13 21:48:38 schmonz Exp $ |
2 | | | 2 | |
3 | --- Pari.xs.orig 2009-12-11 02:18:24.000000000 +0000 | | 3 | --- Pari.xs.orig 2010-03-03 21:53:32.000000000 +0000 |
4 | +++ Pari.xs | | 4 | +++ Pari.xs |
5 | @@ -1,4 +1,6 @@ | | 5 | @@ -3,7 +3,9 @@ |
| | | 6 | # include <windows.h> |
| | | 7 | #endif |
| | | 8 | |
6 | -# include <pari.h> | | 9 | -# include <pari.h> |
7 | +# include <pari/pari.h> | | 10 | +# include <pari/pari.h> |
8 | +# include <pari/paripriv.h> | | 11 | +# include <pari/paripriv.h> |
9 | +#if 0 | | 12 | +#if 0 |
10 | # include <graph/rect.h> | | 13 | # include <graph/rect.h> |
11 | # include <language/anal.h> | | 14 | # include <language/anal.h> |
12 | | | 15 | |
13 | @@ -7,6 +9,7 @@ | | 16 | @@ -12,6 +14,7 @@ |
14 | #endif | | 17 | #endif |
15 | | | 18 | |
16 | # include <gp/gp.h> /* init_opts */ | | 19 | # include <gp/gp.h> /* init_opts */ |
17 | +#endif | | 20 | +#endif |
18 | | | 21 | |
19 | /* On some systems /usr/include/sys/dl.h attempts to declare | | 22 | /* On some systems /usr/include/sys/dl.h attempts to declare |
20 | ladd which pari.h already defined with a different meaning. | | 23 | ladd which pari.h already defined with a different meaning. |