Permalink
Browse files

Fix build with PostgreSQL 9.3devel

Some needed declarations have been moved to the new header
htup_details.h.
  • Loading branch information...
1 parent 69c5cb3 commit 7ed7844737c5e9c9b1ad72c255ef5a94670ec55c @petere petere committed with Jan 12, 2013
Showing with 9 additions and 0 deletions.
  1. +3 −0 src/pmpz_arith.c
  2. +3 −0 src/pmpz_roots.c
  3. +3 −0 src/pmpz_theor.c
View
3 src/pmpz_arith.c
@@ -25,6 +25,9 @@
#include "fmgr.h"
#include "funcapi.h"
#include "access/hash.h" /* for hash_any */
+#if PG_VERSION_NUM >= 90300
+#include <access/htup_details.h> /* for heap_form_tuple */
+#endif
/*
View
3 src/pmpz_roots.c
@@ -24,6 +24,9 @@
#include "fmgr.h"
#include "funcapi.h"
+#if PG_VERSION_NUM >= 90300
+#include <access/htup_details.h> /* for heap_form_tuple */
+#endif
/* Functions with a more generic signature are defined in pmpz.arith.c */
View
3 src/pmpz_theor.c
@@ -24,6 +24,9 @@
#include "fmgr.h"
#include "funcapi.h"
+#if PG_VERSION_NUM >= 90300
+#include <access/htup_details.h> /* for heap_form_tuple */
+#endif
/* Function with a more generic signature are defined in pmpz.arith.c */

0 comments on commit 7ed7844

Please sign in to comment.