From 53f275b9e5a80d63238ce100d72466b905363ba7 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 10 Dec 2002 16:12:53 +0000
Subject: [PATCH] If typecmds is going to have its own header file, said header
 file should include what it needs.

---
 src/include/commands/defrem.h   |  3 +--
 src/include/commands/typecmds.h | 10 +++++++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h
index 629a2e0a6a1..2c2ace68058 100644
--- a/src/include/commands/defrem.h
+++ b/src/include/commands/defrem.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: defrem.h,v 1.49 2002/12/06 05:00:31 momjian Exp $
+ * $Id: defrem.h,v 1.50 2002/12/10 16:12:52 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 
 #include "nodes/parsenodes.h"
 
-#define DEFAULT_TYPDELIM		','
 
 /* commands/indexcmds.c */
 extern void DefineIndex(RangeVar *heapRelation,
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h
index e5ed70c5252..2757d54276d 100644
--- a/src/include/commands/typecmds.h
+++ b/src/include/commands/typecmds.h
@@ -1,19 +1,23 @@
 /*-------------------------------------------------------------------------
  *
- * tablecmds.h
- *	  prototypes for tablecmds.c.
+ * typecmds.h
+ *	  prototypes for typecmds.c.
  *
  *
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: typecmds.h,v 1.1 2002/12/06 05:00:31 momjian Exp $
+ * $Id: typecmds.h,v 1.2 2002/12/10 16:12:53 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef TYPECMDS_H
 #define TYPECMDS_H
 
+#include "nodes/parsenodes.h"
+
+#define DEFAULT_TYPDELIM		','
+
 extern void DefineType(List *names, List *parameters);
 extern void RemoveType(List *names, DropBehavior behavior);
 extern void RemoveTypeById(Oid typeOid);
-- 
GitLab