Fix some missing inclusions identified with new pgcheckdefines tool.

This commit is contained in:
Tom Lane 2006-07-15 03:35:21 +00:00
parent a7143b3088
commit 9b556322c5
6 changed files with 20 additions and 15 deletions

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_misc.c,v 1.45 2006/07/14 14:52:20 momjian Exp $
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_misc.c,v 1.46 2006/07/15 03:35:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -21,6 +21,7 @@
#include "postgres.h"
#include "optimizer/geqo_misc.h"
#ifdef GEQO_DEBUG

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.172 2006/06/27 03:43:20 momjian Exp $
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.173 2006/07/15 03:35:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -17,6 +17,7 @@
#include <ctype.h>
#include "nodes/parsenodes.h"
#include "parser/gramparse.h" /* required before parser/parse.h! */
#include "parser/keywords.h"
#include "parser/parse.h"

View File

@ -14,14 +14,14 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parser.c,v 1.66 2006/05/27 17:38:46 tgl Exp $
* $PostgreSQL: pgsql/src/backend/parser/parser.c,v 1.67 2006/07/15 03:35:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "parser/gramparse.h"
#include "parser/gramparse.h" /* required before parser/parse.h! */
#include "parser/parse.h"
#include "parser/parser.h"

View File

@ -3,11 +3,9 @@
*
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.113 2006/07/14 14:52:26 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.114 2006/07/15 03:35:21 tgl Exp $
*/
#include "postgres_fe.h"
#include "common.h"
#include "help.h"
#include <signal.h>
@ -23,10 +21,13 @@
#include "pqsignal.h"
#include "settings.h"
#include "common.h"
#include "help.h"
#include "input.h"
#include "settings.h"
#include "sql_help.h"
/*
* PLEASE:
* If you change something in this file, also make the same changes

View File

@ -3,14 +3,9 @@
*
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.46 2006/07/14 14:52:26 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.47 2006/07/15 03:35:21 tgl Exp $
*/
#include "postgres_fe.h"
#include "prompt.h"
#include "settings.h"
#include "common.h"
#ifdef WIN32
#include <io.h>
@ -22,6 +17,12 @@
#include <netdb.h>
#endif
#include "common.h"
#include "input.h"
#include "prompt.h"
#include "settings.h"
/*--------------------------
* get_prompt
*

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/optimizer/geqo_misc.h,v 1.29 2006/07/13 16:49:19 momjian Exp $
* $PostgreSQL: pgsql/src/include/optimizer/geqo_misc.h,v 1.30 2006/07/15 03:35:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -22,6 +22,7 @@
#ifndef GEQO_MISC_H
#define GEQO_MISC_H
#include "optimizer/geqo.h"
#include "optimizer/geqo_recombination.h"
#ifdef GEQO_DEBUG