From e02407e7d6cca588115a89f2062cb4f62dab0643 Mon Sep 17 00:00:00 2001 From: teodor Date: Thu, 1 Jun 2006 15:23:26 +0000 Subject: [PATCH] Add PG_MODULE_MAGIC for 8.2 --- hstore.h | 2 +- hstore_io.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hstore.h b/hstore.h index b6c8a81..5fb5999 100644 --- a/hstore.h +++ b/hstore.h @@ -2,7 +2,7 @@ #define __HSTORE_H__ #include "postgres.h" - +#include "funcapi.h" #include "access/gist.h" #include "access/itup.h" #include "utils/elog.h" diff --git a/hstore_io.c b/hstore_io.c index c372a64..089cb70 100644 --- a/hstore_io.c +++ b/hstore_io.c @@ -1,6 +1,10 @@ #include "hstore.h" #include +#ifdef PG_MODULE_MAGIC +PG_MODULE_MAGIC; +#endif + typedef struct { char *begin; char *ptr; -- 2.46.1