From: teodor Date: Thu, 1 Jun 2006 15:23:26 +0000 (+0000) Subject: Add PG_MODULE_MAGIC for 8.2 X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=e02407e7d6cca588115a89f2062cb4f62dab0643;p=hstore.git Add PG_MODULE_MAGIC for 8.2 --- 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;