Add PG_MODULE_MAGIC for 8.2
authorteodor <teodor>
Thu, 1 Jun 2006 15:23:26 +0000 (15:23 +0000)
committerteodor <teodor>
Thu, 1 Jun 2006 15:23:26 +0000 (15:23 +0000)
hstore.h
hstore_io.c

index b6c8a81..5fb5999 100644 (file)
--- 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"
index c372a64..089cb70 100644 (file)
@@ -1,6 +1,10 @@
 #include "hstore.h"
 #include <ctype.h>
 
+#ifdef PG_MODULE_MAGIC
+PG_MODULE_MAGIC;
+#endif
+
 typedef struct {
        char *begin;
        char *ptr;