Commit 9ef6b32c authored by Marc G. Fournier's avatar Marc G. Fournier

Makefile cleaned up

async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP

vacuum.c: #include <port-protos.h> commented out...can someone comment as
          to why it was included, as it doesn't seem to have any effect
          under FreeBSD so far...would like some sort of #ifdef wrapper
          like async.c if possible
parent e2d95010
......@@ -4,16 +4,18 @@
# Makefile for commands
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.8 1997/12/04 00:26:44 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.9 1997/12/17 04:44:47 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I.. \
-I../port/$(PORTNAME) \
-I../../include
INCLUDE_OPT = -I..
ifdef PORTNAME
INCLUDE_OPT+=-I../port/$(PORTNAME)
endif
CFLAGS+=$(INCLUDE_OPT)
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.25 1997/12/06 22:56:24 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.26 1997/12/17 04:44:49 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -82,7 +82,9 @@
#include <commands/async.h>
#include <libpq/libpq.h>
#include <port-protos.h> /* for strdup() */
#ifndef HAVE_STRDUP
# include <port-protos.h> /* for strdup() */
#endif
#include <storage/lmgr.h>
......
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.53 1997/11/25 21:59:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.54 1997/12/17 04:44:50 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -54,7 +54,7 @@
#include <sys/resource.h>
#endif
#include <port-protos.h>
/* #include <port-protos.h> */
extern int BlowawayRelationBuffers(Relation rdesc, BlockNumber block);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment