projects
/
hstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82407e8
)
Add PG_MODULE_MAGIC for 8.2
author
teodor
<teodor>
Thu, 1 Jun 2006 15:23:26 +0000
(15:23 +0000)
committer
teodor
<teodor>
Thu, 1 Jun 2006 15:23:26 +0000
(15:23 +0000)
hstore.h
patch
|
blob
|
history
hstore_io.c
patch
|
blob
|
history
diff --git
a/hstore.h
b/hstore.h
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"
diff --git
a/hstore_io.c
b/hstore_io.c
index
c372a64
..
089cb70
100644
(file)
--- a/
hstore_io.c
+++ b/
hstore_io.c
@@
-1,6
+1,10
@@
#include "hstore.h"
#include <ctype.h>
+#ifdef PG_MODULE_MAGIC
+PG_MODULE_MAGIC;
+#endif
+
typedef struct {
char *begin;
char *ptr;