]> granicus.if.org Git - postgresql/commitdiff
Add additional includes needed on some platforms.
authorBruce Momjian <bruce@momjian.us>
Fri, 14 Jul 2006 04:44:46 +0000 (04:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 14 Jul 2006 04:44:46 +0000 (04:44 +0000)
12 files changed:
contrib/btree_gist/btree_numeric.c
contrib/btree_gist/btree_utils_num.h
contrib/btree_gist/btree_utils_var.c
src/backend/executor/nodeHash.c
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-print.c
src/interfaces/libpq/fe-protocol2.c
src/interfaces/libpq/fe-secure.c
src/port/strdup.c
src/timezone/pgtz.c
src/timezone/strftime.c
src/tutorial/funcs_new.c

index 5943483a65a5f9450e51af4e3c9485af8ad97cce..a6a03c8995bf2f262b3df94e19db2cd7dc28afce 100644 (file)
@@ -1,4 +1,5 @@
 #include <math.h>
+#include <float.h>
 
 #include "btree_gist.h"
 #include "btree_utils_var.h"
index 555410c08f6883e3cc4ece6d46dc9007c46793b9..1ea022e90f55d02086b8f0a11955ac2c7f78f92f 100644 (file)
@@ -2,6 +2,7 @@
 #define __BTREE_UTILS_NUM_H__
 
 #include <math.h>
+#include <float.h>
 
 #include "btree_gist.h"
 
index 17aaa9d975a9b986e9573ad660076f8fce177625..1a6f1fdadfe4bef3ab1834f144684aeebf6a96b5 100644 (file)
@@ -1,4 +1,6 @@
 #include <math.h>
+#include <limits.h>
+#include <float.h>
 
 #include "btree_gist.h"
 #include "btree_utils_var.h"
index 313efb37049c3953854adf8eaf8690947e41a1c5..171cfb58f287286470998a0d77674d3c313f2aaf 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.106 2006/07/13 20:14:12 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.107 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,6 +22,7 @@
 #include "postgres.h"
 
 #include <math.h>
+#include <limits.h>
 
 #include "executor/execdebug.h"
 #include "executor/hashjoin.h"
index 1b8ac726ddb25639d90ca255a0242bd9156937dd..a3eebd8c93ed7c28c0668f7bf23f458d90b628f8 100644 (file)
@@ -10,7 +10,7 @@
  * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.116 2006/07/12 02:31:56 joe Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.117 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -48,7 +48,6 @@
 #endif
 
 #include "libpq-fe.h"
-#include "libpq-int.h"
 #include "fe-auth.h"
 #include "libpq/md5.h"
 
@@ -58,7 +57,6 @@
  * MIT Kerberos authentication system - protocol version 5
  */
 
-#include <krb5.h>
 /* Some old versions of Kerberos do not include <com_err.h> in <krb5.h> */
 #if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
 #include <com_err.h>
index 7a1e032fb7fadd7f352702eb984f8a0dea1de849..846b759809dcb0d580c72804c3c29415514e9332 100644 (file)
@@ -10,7 +10,7 @@
  * didn't really belong there.
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.68 2006/04/19 16:15:29 tgl Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.69 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -35,7 +35,6 @@
 
 #include "libpq-fe.h"
 #include "libpq-int.h"
-#include "pqsignal.h"
 
 
 static void do_field(const PQprintOpt *po, const PGresult *res,
index a687ae82c4f6167905ee34b071c9ae8bfc4c9133..43df7423d8b0fa436eb140b06d72bf6ee28d0299 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.22 2006/03/05 15:59:09 momjian Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.23 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -21,7 +21,6 @@
 #include "libpq-fe.h"
 #include "libpq-int.h"
 
-#include "mb/pg_wchar.h"
 
 #ifdef WIN32
 #include "win32.h"
index e058f4edcbfc6a65dff18b9212a881cb3d689e9a..0f39bc344c30e9c5e5d1da414297a3ef39c8da59 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.81 2006/05/11 23:27:35 momjian Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.82 2006/07/14 04:44:46 momjian Exp $
  *
  * NOTES
  *       [ Most of these notes are wrong/obsolete, but perhaps not all ]
@@ -84,9 +84,7 @@
 #include <ctype.h>
 
 #include "libpq-fe.h"
-#include "libpq-int.h"
 #include "fe-auth.h"
-#include "pqsignal.h"
 
 #ifdef WIN32
 #include "win32.h"
index 85fa952728bb255b4156c588e7d0f63e26ba0e1a..00c0b1375ecd79e15b29a66a871895a525c073d6 100644 (file)
@@ -8,14 +8,13 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/port/strdup.c,v 1.9 2006/03/05 15:59:10 momjian Exp $
+ *       $PostgreSQL: pgsql/src/port/strdup.c,v 1.10 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 #include "c.h"
 
-#include "strdup.h"
 
 
 char *
index 8bc180370d8021edcacefc684d4346913f75abb4..c4203abd2a9222090d9900a320c9f8f0a8a3adae 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.40 2006/03/05 15:59:11 momjian Exp $
+ *       $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.41 2006/07/14 04:44:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include <time.h>
 
 #include "miscadmin.h"
-#include "pgtime.h"
 #include "pgtz.h"
 #include "storage/fd.h"
 #include "tzfile.h"
 #include "utils/datetime.h"
-#include "utils/elog.h"
 #include "utils/guc.h"
 #include "utils/hsearch.h"
 
index 7068a56a26847a9efcddb5293d1e1a711a572b32..91f035635d8cf7226081fdefb1b93116e0d1e828 100644 (file)
@@ -15,7 +15,7 @@
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.8 2005/10/15 02:49:51 momjian Exp $
+ *       $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.9 2006/07/14 04:44:46 momjian Exp $
  */
 
 #include "postgres.h"
@@ -24,7 +24,6 @@
 #include <locale.h>
 
 #include "private.h"
-#include "pgtz.h"
 #include "tzfile.h"
 
 
index f5507a8284767cfa6de9a61ad4b28f20a4fac868..378adade2e5b07279e1388500d3bf04455878b39 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.8 2006/05/30 22:12:16 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.9 2006/07/14 04:44:46 momjian Exp $ */
 
 /******************************************************************************
   These are user-defined functions that can be bound to a Postgres backend
@@ -13,7 +13,6 @@
 
 #include "postgres.h"                  /* general Postgres declarations */
 
-#include "fmgr.h"                              /* for argument/result macros */
 #include "executor/executor.h" /* for GetAttributeByName() */
 #include "utils/geo_decls.h"   /* for point type */