Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit03c2e59

Browse files
committed
Add additional includes needed on some platforms.
1 parent06bed48 commit03c2e59

File tree

12 files changed

+14
-20
lines changed

12 files changed

+14
-20
lines changed

‎contrib/btree_gist/btree_numeric.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include<math.h>
2+
#include<float.h>
23

34
#include"btree_gist.h"
45
#include"btree_utils_var.h"

‎contrib/btree_gist/btree_utils_num.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define__BTREE_UTILS_NUM_H__
33

44
#include<math.h>
5+
#include<float.h>
56

67
#include"btree_gist.h"
78

‎contrib/btree_gist/btree_utils_var.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#include<math.h>
2+
#include<limits.h>
3+
#include<float.h>
24

35
#include"btree_gist.h"
46
#include"btree_utils_var.h"

‎src/backend/executor/nodeHash.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.106 2006/07/13 20:14:12 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.107 2006/07/14 04:44:46 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -22,6 +22,7 @@
2222
#include"postgres.h"
2323

2424
#include<math.h>
25+
#include<limits.h>
2526

2627
#include"executor/execdebug.h"
2728
#include"executor/hashjoin.h"

‎src/interfaces/libpq/fe-auth.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.116 2006/07/12 02:31:56 joe Exp $
13+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.117 2006/07/14 04:44:46 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -48,7 +48,6 @@
4848
#endif
4949

5050
#include"libpq-fe.h"
51-
#include"libpq-int.h"
5251
#include"fe-auth.h"
5352
#include"libpq/md5.h"
5453

@@ -58,7 +57,6 @@
5857
* MIT Kerberos authentication system - protocol version 5
5958
*/
6059

61-
#include<krb5.h>
6260
/* Some old versions of Kerberos do not include <com_err.h> in <krb5.h> */
6361
#if !defined(__COM_ERR_H)&& !defined(__COM_ERR_H__)
6462
#include<com_err.h>

‎src/interfaces/libpq/fe-print.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* didn't really belong there.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.68 2006/04/19 16:15:29 tgl Exp $
13+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.69 2006/07/14 04:44:46 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -35,7 +35,6 @@
3535

3636
#include"libpq-fe.h"
3737
#include"libpq-int.h"
38-
#include"pqsignal.h"
3938

4039

4140
staticvoiddo_field(constPQprintOpt*po,constPGresult*res,

‎src/interfaces/libpq/fe-protocol2.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.22 2006/03/05 15:59:09 momjian Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol2.c,v 1.23 2006/07/14 04:44:46 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -21,7 +21,6 @@
2121
#include"libpq-fe.h"
2222
#include"libpq-int.h"
2323

24-
#include"mb/pg_wchar.h"
2524

2625
#ifdefWIN32
2726
#include"win32.h"

‎src/interfaces/libpq/fe-secure.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.81 2006/05/11 23:27:35 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.82 2006/07/14 04:44:46 momjian Exp $
1515
*
1616
* NOTES
1717
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
@@ -84,9 +84,7 @@
8484
#include<ctype.h>
8585

8686
#include"libpq-fe.h"
87-
#include"libpq-int.h"
8887
#include"fe-auth.h"
89-
#include"pqsignal.h"
9088

9189
#ifdefWIN32
9290
#include"win32.h"

‎src/port/strdup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/strdup.c,v 1.9 2006/03/05 15:59:10 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/strdup.c,v 1.10 2006/07/14 04:44:46 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include"c.h"
1717

18-
#include"strdup.h"
1918

2019

2120
char*

‎src/timezone/pgtz.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.40 2006/03/05 15:59:11 momjian Exp $
9+
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.41 2006/07/14 04:44:46 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -19,12 +19,10 @@
1919
#include<time.h>
2020

2121
#include"miscadmin.h"
22-
#include"pgtime.h"
2322
#include"pgtz.h"
2423
#include"storage/fd.h"
2524
#include"tzfile.h"
2625
#include"utils/datetime.h"
27-
#include"utils/elog.h"
2826
#include"utils/guc.h"
2927
#include"utils/hsearch.h"
3028

‎src/timezone/strftime.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.8 2005/10/15 02:49:51 momjian Exp $
18+
* $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.9 2006/07/14 04:44:46 momjian Exp $
1919
*/
2020

2121
#include"postgres.h"
@@ -24,7 +24,6 @@
2424
#include<locale.h>
2525

2626
#include"private.h"
27-
#include"pgtz.h"
2827
#include"tzfile.h"
2928

3029

‎src/tutorial/funcs_new.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.8 2006/05/30 22:12:16 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.9 2006/07/14 04:44:46 momjian Exp $ */
22

33
/******************************************************************************
44
These are user-defined functions that can be bound to a Postgres backend
@@ -13,7 +13,6 @@
1313

1414
#include"postgres.h"/* general Postgres declarations */
1515

16-
#include"fmgr.h"/* for argument/result macros */
1716
#include"executor/executor.h"/* for GetAttributeByName() */
1817
#include"utils/geo_decls.h"/* for point type */
1918

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp