Skip to content

Commit fbe4ad2

Browse files
committed
Add config.h as needed.
1 parent d990179 commit fbe4ad2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

src/backend/parser/scansup.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.14 1999/07/15 15:19:32 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.15 1999/07/17 04:00:28 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

16-
#include "config.h"
17-
1816
#include <ctype.h>
1917
#include <string.h>
2018

src/backend/port/isinf.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
/* $Id: isinf.c,v 1.8 1999/07/16 04:59:35 momjian Exp $ */
1+
/* $Id: isinf.c,v 1.9 1999/07/17 04:00:29 momjian Exp $ */
22

33
#include <math.h>
44

5+
#include "config.h"
6+
57
#if HAVE_FPCLASS
68
#if HAVE_IEEEFP_H
79
#include <ieeefp.h>

src/backend/storage/buffer/buf_init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.27 1999/07/16 04:59:41 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.28 1999/07/17 04:00:30 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,7 +19,6 @@
1919

2020
#include "postgres.h"
2121

22-
2322
#include "catalog/catalog.h"
2423
#include "executor/execdebug.h"
2524
#include "miscadmin.h"

src/tools/pginclude/pgnoinclude

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
:
22
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
3-
find . \( -name CVS -a -prune \) -o -type f -print | grep -v '\./postgres.h' |
3+
find . \( -name CVS -a -prune \) -o -type f -print |
4+
grep -v '\./postgres.h' |
5+
grep -v '\./config.h' |
46
while read FILE
57
do
68
if [ "`echo $FILE | sed -n 's/^.*\.\([^\.]*\)$/\1/p'`" = "h" ]
@@ -19,6 +21,7 @@ do
1921
do
2022
[ -s /usr/include/$INCLUDE ] && continue
2123
[ "$INCLUDE" = postgres.h ] && continue
24+
[ "$INCLUDE" = config.h ] && continue
2225
# preserve configure-specific includes
2326
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
2427
egrep -q '^#if|^#else' && continue

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy