diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c index e95742863a62525812ceadf61d8824aec7524799..c3abfd96a87a4cbbf02d6e8f222b6e33f866e07e 100644 --- a/src/backend/access/index/genam.c +++ b/src/backend/access/index/genam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.2 1996/10/20 09:27:21 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.3 1996/10/21 07:38:17 scrappy Exp $ * * NOTES * many of the old access method routines have been turned into @@ -81,6 +81,18 @@ #include "access/funcindex.h" #include "access/genam.h" +#include "utils/palloc.h" + +#ifndef HAVE_MEMMOVE +# include "regex/utils.h" +#else +# include <string.h> +#endif + +#include <stdio.h> +#include "storage/ipc.h" +#include "storage/bufmgr.h" + /* ---------------------------------------------------------------- * general access method routines * diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 7a01884850f92ff9c3a28d025332601c99801913..c0348a5f39a669e3fa148268b75f787fe87d9fcd 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.3 1996/10/20 09:27:22 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.4 1996/10/21 07:38:19 scrappy Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relationId @@ -97,6 +97,19 @@ #include "utils/relcache.h" +#include "fmgr.h" + +#include "utils/palloc.h" + +#include "storage/ipc.h" +#include "storage/spin.h" +#include "utils/hsearch.h" +#include "storage/shmem.h" +#include "storage/lock.h" +#include "storage/lmgr.h" + +#include "access/heaptuple.h" + /* ---------------- * undefine macros we aren't going to use that would otherwise * get in our way.. delete is defined in c.h and the am's are diff --git a/src/backend/access/index/istrat.c b/src/backend/access/index/istrat.c index e34fe220810e6075886d9529ce6ff9007fe46b0d..7c7550c1eebd2716783079ebdebe3999347f72e0 100644 --- a/src/backend/access/index/istrat.c +++ b/src/backend/access/index/istrat.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.2 1996/10/20 09:27:24 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.3 1996/10/21 07:38:20 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -54,6 +54,11 @@ #include "utils/memutils.h" /* could have been access/itup.h */ #include "access/heapam.h" + +#include "access/istrat.h" + +#include "fmgr.h" + /* ---------------------------------------------------------------- * misc strategy support routines * ----------------------------------------------------------------