From f8c4d7db6033802ab682f95d5548a9ea6c33cec6 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 12 May 2008 00:00:54 +0000 Subject: Restructure some header files a bit, in particular heapam.h, by removing some unnecessary #include lines in it. Also, move some tuple routine prototypes and macros to htup.h, which allows removal of heapam.h inclusion from some .c files. For this to work, a new header file access/sysattr.h needed to be created, initially containing attribute numbers of system columns, for pg_dump usage. While at it, make contrib ltree, intarray and hstore header files more consistent with our header style. --- contrib/hstore/hstore_gist.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'contrib/hstore/hstore_gist.c') diff --git a/contrib/hstore/hstore_gist.c b/contrib/hstore/hstore_gist.c index 15ac9659919..ecfed0f5dab 100644 --- a/contrib/hstore/hstore_gist.c +++ b/contrib/hstore/hstore_gist.c @@ -1,9 +1,15 @@ -#include "hstore.h" +/* + * $PostgreSQL: pgsql/contrib/hstore/hstore_gist.c,v 1.9 2008/05/12 00:00:42 alvherre Exp $ + */ +#include "postgres.h" #include "access/gist.h" #include "access/itup.h" +#include "access/skey.h" #include "crc32.h" +#include "hstore.h" + /* bigint defines */ #define BITBYTE 8 #define SIGLENINT 4 /* >122 => key will toast, so very slow!!! */ -- cgit v1.2.3