Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e362d4e

Browse files
committed
#include cleanups
1 parent d540a9a commit e362d4e

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

src/include/commands/comment.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef COMMENT_H
1313
#define COMMENT_H
1414

15+
#include "nodes/pg_list.h"
16+
1517
/*------------------------------------------------------------------
1618
* Function Prototypes --
1719
*

src/include/executor/execdebug.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: execdebug.h,v 1.12 2000/01/26 05:58:05 momjian Exp $
10+
* $Id: execdebug.h,v 1.13 2000/06/15 00:52:07 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef EXECDEBUG_H
1515
#define EXECDEBUG_H
1616

17+
#include "executor/executor.h"
1718
#include "nodes/print.h"
1819

1920
/* ----------------------------------------------------------------
@@ -227,8 +228,8 @@ extern int NIndexTupleInserted;
227228
#define EU_nodeDisplay(l) nodeDisplay(l)
228229
#define EU_printf(s) printf(s)
229230
#define EU1_printf(s, a) printf(s, a)
230-
#define EU2_printf(s, a) printf(s, a, b)
231-
#define EU3_printf(s, a) printf(s, a, b, c)
231+
#define EU2_printf(s, a, b) printf(s, a, b)
232+
#define EU3_printf(s, a, b, c) printf(s, a, b, c)
232233
#define EU4_printf(s, a, b, c, d) printf(s, a, b, c, d)
233234
#else
234235
#define EU_nodeDisplay(l)

src/include/libpq/pqsignal.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pqsignal.h,v 1.12 2000/04/12 17:16:36 momjian Exp $
10+
* $Id: pqsignal.h,v 1.13 2000/06/15 00:52:11 momjian Exp $
1111
*
1212
* NOTES
1313
* This shouldn't be in libpq, but the monitor and some other
@@ -18,6 +18,8 @@
1818
#ifndef PQSIGNAL_H
1919
#define PQSIGNAL_H
2020

21+
#include <signal.h>
22+
2123
#ifdef HAVE_SIGPROCMASK
2224
extern sigset_t UnBlockSig,
2325
BlockSig;

src/include/mb/pg_wchar.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: pg_wchar.h,v 1.15 2000/06/13 07:35:27 tgl Exp $ */
1+
/* $Id: pg_wchar.h,v 1.16 2000/06/15 00:52:19 momjian Exp $ */
22

33
#ifndef PG_WCHAR_H
44
#define PG_WCHAR_H
@@ -32,7 +32,6 @@
3232

3333
#ifdef MULTIBYTE
3434
typedef unsigned int pg_wchar;
35-
3635
#else
3736
#define pg_wchar char
3837
#endif

src/include/miscadmin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: miscadmin.h,v 1.59 2000/06/13 07:35:24 tgl Exp $
15+
* $Id: miscadmin.h,v 1.60 2000/06/15 00:52:04 momjian Exp $
1616
*
1717
* NOTES
1818
* some of the information in this file will be moved to
@@ -26,7 +26,7 @@
2626
#include <sys/types.h> /* For pid_t */
2727

2828
#include "postgres.h"
29-
29+
#include "storage/ipc.h"
3030

3131
/*****************************************************************************
3232
* globals.h -- *

src/include/utils/timestamp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: timestamp.h,v 1.6 2000/06/09 01:11:15 tgl Exp $
9+
* $Id: timestamp.h,v 1.7 2000/06/15 00:52:26 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -16,6 +16,7 @@
1616
#include <time.h>
1717
#include <math.h>
1818
#include <limits.h>
19+
#include <float.h>
1920

2021
#include "fmgr.h"
2122

0 commit comments

Comments
 (0)