summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-11-26 03:20:35 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-11-26 03:20:35 +0000
commit46d58fba3309d435bca93b1706603d1bab5a0512 (patch)
treed62f05b82b87ea98d9f2cb9fc56c390ad0a449c5 /src/bin/pg_dump
parent02c0eb65490c3f5068cdc4839ef516278b8deacc (diff)
downloadpostgresql-46d58fba3309d435bca93b1706603d1bab5a0512.tar.gz
Make it compile on Ultrix. Thanks Erik Bertelson.
Diffstat (limited to 'src/bin/pg_dump')
-rw-r--r--src/bin/pg_dump/Makefile4
-rw-r--r--src/bin/pg_dump/common.c3
-rw-r--r--src/bin/pg_dump/pg_dump.c3
-rw-r--r--src/bin/pg_dump/pg_dump.h3
4 files changed, 8 insertions, 5 deletions
diff --git a/src/bin/pg_dump/Makefile b/src/bin/pg_dump/Makefile
index 9028cd4fb4..8faf2235c7 100644
--- a/src/bin/pg_dump/Makefile
+++ b/src/bin/pg_dump/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.8 1996/11/12 06:10:37 bryanh Exp $
+# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.9 1996/11/26 03:19:36 bryanh Exp $
#
#-------------------------------------------------------------------------
@@ -15,6 +15,8 @@ SRCDIR= ../..
include ../Makefile.global
include ../../Makefile.global
+CFLAGS+= -I../../backend/port/${PORTNAME}
+
OBJS= pg_dump.o common.o
all: submake pg_dump
diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c
index ac03f9e2e1..c5c750f0d7 100644
--- a/src/bin/pg_dump/common.c
+++ b/src/bin/pg_dump/common.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.7 1996/11/04 03:59:53 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.8 1996/11/26 03:19:40 bryanh Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -29,6 +29,7 @@
#include "postgres.h"
#include "libpq-fe.h"
+#include <port-protos.h> /* for strdup() */
#include "pg_dump.h"
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 1a52c41457..28eba53580 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -20,7 +20,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.16 1996/11/20 22:32:55 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.17 1996/11/26 03:19:45 bryanh Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@@ -54,6 +54,7 @@
#include "postgres.h"
#include "access/htup.h"
#include "libpq-fe.h"
+#include <port-protos.h> /* for strdup() */
#include "pg_dump.h"
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index 2db57cb7f6..d6d5c301eb 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_dump.h,v 1.7 1996/10/07 03:30:40 scrappy Exp $
+ * $Id: pg_dump.h,v 1.8 1996/11/26 03:19:49 bryanh Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -158,7 +158,6 @@ extern void flagInhAttrs(TableInfo* tbinfo, int numTables,
InhInfo* inhinfo, int numInherits);
extern void check_conn_and_db(void);
-extern char* dupstr(const char *s);
extern int strInArray(const char* pattern, char** arr, int arr_size);
extern void parseArgTypes(char **argtypes, const char* str);
extern int isArchiveName(const char*);