$NetBSD: patch-ab,v 1.9 2010/03/13 21:48:38 schmonz Exp $

--- Pari.xs.orig	2010-03-03 21:53:32.000000000 +0000
+++ Pari.xs
@@ -3,7 +3,9 @@
 #  include <windows.h>
 #endif
 
-#  include <pari.h>
+#  include <pari/pari.h>
+#  include <pari/paripriv.h>
+#if 0
 #  include <graph/rect.h>
 #  include <language/anal.h>
 
@@ -12,6 +14,7 @@
 #endif
 
 #  include <gp/gp.h>			/* init_opts */
+#endif
 
 /* On some systems /usr/include/sys/dl.h attempts to declare
    ladd which pari.h already defined with a different meaning.
