OSDN Git Service

#include cleanups
authorBruce Momjian <bruce@momjian.us>
Thu, 15 Jun 2000 00:52:26 +0000 (00:52 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 15 Jun 2000 00:52:26 +0000 (00:52 +0000)
src/include/commands/comment.h
src/include/executor/execdebug.h
src/include/libpq/pqsignal.h
src/include/mb/pg_wchar.h
src/include/miscadmin.h
src/include/utils/timestamp.h

index c9a5b63..1514412 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef COMMENT_H
 #define COMMENT_H
 
+#include "nodes/pg_list.h"
+
 /*------------------------------------------------------------------
  * Function Prototypes --
  *
index 97b8f3a..7eb6667 100644 (file)
@@ -7,13 +7,14 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execdebug.h,v 1.12 2000/01/26 05:58:05 momjian Exp $
+ * $Id: execdebug.h,v 1.13 2000/06/15 00:52:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef EXECDEBUG_H
 #define EXECDEBUG_H
 
+#include "executor/executor.h"
 #include "nodes/print.h"
 
 /* ----------------------------------------------------------------
@@ -227,8 +228,8 @@ extern int  NIndexTupleInserted;
 #define EU_nodeDisplay(l)                              nodeDisplay(l)
 #define EU_printf(s)                                   printf(s)
 #define EU1_printf(s, a)                               printf(s, a)
-#define EU2_printf(s, a)                               printf(s, a, b)
-#define EU3_printf(s, a)                               printf(s, a, b, c)
+#define EU2_printf(s, a, b)                            printf(s, a, b)
+#define EU3_printf(s, a, b, c)                 printf(s, a, b, c)
 #define EU4_printf(s, a, b, c, d)              printf(s, a, b, c, d)
 #else
 #define EU_nodeDisplay(l)
index 8013848..4ee039c 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pqsignal.h,v 1.12 2000/04/12 17:16:36 momjian Exp $
+ * $Id: pqsignal.h,v 1.13 2000/06/15 00:52:11 momjian Exp $
  *
  * NOTES
  *       This shouldn't be in libpq, but the monitor and some other
@@ -18,6 +18,8 @@
 #ifndef PQSIGNAL_H
 #define PQSIGNAL_H
 
+#include <signal.h>
+
 #ifdef HAVE_SIGPROCMASK
 extern sigset_t UnBlockSig,
                        BlockSig;
index 5a1acc1..cf308b6 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: pg_wchar.h,v 1.15 2000/06/13 07:35:27 tgl Exp $ */
+/* $Id: pg_wchar.h,v 1.16 2000/06/15 00:52:19 momjian Exp $ */
 
 #ifndef PG_WCHAR_H
 #define PG_WCHAR_H
@@ -32,7 +32,6 @@
 
 #ifdef MULTIBYTE
 typedef unsigned int pg_wchar;
-
 #else
 #define pg_wchar char
 #endif
index b56ad15..b3aa672 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: miscadmin.h,v 1.59 2000/06/13 07:35:24 tgl Exp $
+ * $Id: miscadmin.h,v 1.60 2000/06/15 00:52:04 momjian Exp $
  *
  * NOTES
  *       some of the information in this file will be moved to
@@ -26,7 +26,7 @@
 #include <sys/types.h>                 /* For pid_t */
 
 #include "postgres.h"
-
+#include "storage/ipc.h"
 
 /*****************************************************************************
  *       globals.h --                                                                                                                   *
index 634d440..97f2612 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: timestamp.h,v 1.6 2000/06/09 01:11:15 tgl Exp $
+ * $Id: timestamp.h,v 1.7 2000/06/15 00:52:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,6 +16,7 @@
 #include <time.h>
 #include <math.h>
 #include <limits.h>
+#include <float.h>
 
 #include "fmgr.h"