Added needed include file.

This commit is contained in:
Bruce Momjian 1996-10-31 05:58:01 +00:00
parent 7a93da98af
commit 3d7fe6c97c
14 changed files with 34 additions and 13 deletions

View File

@ -7,12 +7,13 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.1.1.1 1996/07/09 06:21:26 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.2 1996/10/31 05:53:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/file.h>
#include "postgres.h"
#include "storage/bufmgr.h" /* for BLCKSZ */
#include "storage/fd.h" /* for SEEK_ */
#include "executor/executor.h"

View File

@ -12,7 +12,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.5 1996/10/23 07:40:32 scrappy Exp $
* $Id: miscadmin.h,v 1.6 1996/10/31 05:53:43 momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
@ -27,6 +27,8 @@
* globals.h -- *
*****************************************************************************/
#include "postgres.h"
/* #include "storage/sinval.h" */
/*

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.3 1996/07/22 23:30:50 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.4 1996/10/31 05:53:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -38,6 +38,8 @@
#include "storage/bufmgr.h" /* for BLCKSZ */
extern int NBuffers;
static int compute_attribute_width(TargetEntry *tlistentry);
static double base_log(double x, double b);

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.2 1996/10/31 05:54:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -59,6 +59,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <sys/ipc.h>
#include "postgres.h"
#include "storage/ipc.h"
#include "storage/shmem.h"

View File

@ -7,12 +7,14 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.2 1996/10/31 05:54:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/* #define INVALIDDEBUG 1 */
#include <sys/ipc.h>
#include "postgres.h"
#include "storage/sinval.h"

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.1.1.1 1996/07/09 06:22:06 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.2 1996/10/31 05:55:32 momjian Exp $
*
* NOTES
* Eventually, the index information should go through here, too.
@ -31,6 +31,7 @@
#include "access/heapam.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_type.h"
/* ---------- AMOP CACHES ---------- */

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.2 1996/08/27 22:21:34 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.3 1996/10/31 05:55:44 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
@ -31,6 +31,7 @@
#include <string.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <math.h>
#include "postgres.h"

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.5 1996/07/31 18:59:00 scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.6 1996/10/31 05:56:01 momjian Exp $
#
#-------------------------------------------------------------------------
@ -17,6 +17,8 @@ MKDIR= ../../mk
include $(MKDIR)/postgres.mk
include ../Makefile.global
CFLAGS+= -I../../backend/port/$(PORTNAME)
SRCS= pg_dump.c common.c
include $(MKDIR)/postgres.prog.mk

View File

@ -6,13 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: attnum.h,v 1.2 1996/08/28 01:23:59 scrappy Exp $
* $Id: attnum.h,v 1.3 1996/10/31 05:56:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ATTNUM_H
#define ATTNUM_H
#include "postgres.h"
/*
* user defined attribute numbers start at 1. -ay 2/95
*/

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq.h,v 1.3 1996/10/23 07:41:41 scrappy Exp $
* $Id: libpq.h,v 1.4 1996/10/31 05:56:42 momjian Exp $
*
* NOTES
* This file contains definitions for structures and
@ -19,6 +19,7 @@
#ifndef LIBPQ_H
#define LIBPQ_H
#include <sys/types.h>
#include <netinet/in.h>
#include "libpq/pqcomm.h"

View File

@ -40,6 +40,8 @@
#ifndef _REGEX_H_
#define _REGEX_H_
#include <assert.h>
/* #include <sys/cdefs.h> */
/* since not all systems have cdefs.h, we'll use our own here - jolly */
#include "cdefs.h"

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ipc.h,v 1.4 1996/10/19 06:27:12 scrappy Exp $
* $Id: ipc.h,v 1.5 1996/10/31 05:57:40 momjian Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@ -23,6 +23,8 @@
#include <sys/types.h>
#include "postgres.h"
/*
* Many architectures have support for user-level spinlocks (i.e., an
* atomic test-and-set instruction). However, we have only written

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: proc.h,v 1.1 1996/08/28 01:58:24 scrappy Exp $
* $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -16,6 +16,7 @@
#include "storage/ipc.h"
#include "storage/lock.h"
#ifndef WIN32
#include <sys/ipc.h>
#include <sys/sem.h>
#else
/* This is because WIN32 already defines PROC */

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: syscache.h,v 1.2 1996/10/19 04:16:04 scrappy Exp $
* $Id: syscache.h,v 1.3 1996/10/31 05:58:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -14,6 +14,7 @@
#define SYSCACHE_H
#include "access/attnum.h"
#include "access/htup.h"
/*#define CACHEDEBUG*/ /* turns DEBUG elogs on */