Skip to content

Commit 76294e1

Browse files
committed
Cleanup Makefiles
Add #include "postgres.h" and #include <sys/types.h>
1 parent eb501f1 commit 76294e1

File tree

16 files changed

+49
-31
lines changed

16 files changed

+49
-31
lines changed

src/backend/optimizer/path/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
# Makefile for optimizer/path
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.1 1996/10/27 09:48:20 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.2 1996/10/31 10:58:58 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../../..
1212
include ../../../Makefile.global
1313

14-
INCLUDE_OPT = -I../.. \
15-
-I../../port/$(PORTNAME) \
16-
-I../../include \
14+
INCLUDE_OPT = -I../../port/$(PORTNAME) \
1715
-I../../../include
1816

1917
CFLAGS+=$(INCLUDE_OPT)

src/backend/optimizer/path/joinpath.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.1.1.1 1996/07/09 06:21:35 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.2 1996/10/31 10:59:00 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
1415
#include <math.h>
1516

17+
#include "postgres.h"
18+
1619
#include "storage/buf_internals.h"
1720

1821
#include "nodes/pg_list.h"

src/backend/optimizer/plan/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
# Makefile for optimizer/plan
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.1 1996/10/27 09:48:33 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.2 1996/10/31 10:59:05 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../../..
1212
include ../../../Makefile.global
1313

14-
INCLUDE_OPT = -I../.. \
15-
-I../../port/$(PORTNAME) \
16-
-I../../include \
14+
INCLUDE_OPT = -I../../port/$(PORTNAME) \
1715
-I../../../include
1816

1917
CFLAGS+=$(INCLUDE_OPT)

src/backend/optimizer/plan/createplan.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.3 1996/09/10 06:48:32 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.4 1996/10/31 10:59:09 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14-
#include "c.h"
14+
#include <sys/types.h>
15+
16+
#include "postgres.h"
1517

1618
#include "nodes/execnodes.h"
1719
#include "nodes/plannodes.h"
@@ -21,7 +23,6 @@
2123

2224
#include "nodes/makefuncs.h"
2325

24-
#include "utils/elog.h"
2526
#include "utils/lsyscache.h"
2627
#include "utils/palloc.h"
2728
#include "utils/builtins.h"

src/backend/optimizer/plan/initsplan.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.2 1996/10/31 10:59:13 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
15+
1416
#include "postgres.h"
1517

1618
#include "nodes/pg_list.h"

src/backend/optimizer/plan/planmain.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.2 1996/10/31 10:59:14 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
15+
1416
#include "postgres.h"
1517

1618
#include "nodes/pg_list.h"

src/backend/optimizer/plan/planner.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.2 1996/10/31 10:59:15 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
15+
1416
#include "postgres.h"
1517

1618
#include "nodes/pg_list.h"

src/backend/optimizer/plan/setrefs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.1.1.1 1996/07/09 06:21:37 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.2 1996/10/31 10:59:17 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
15+
1416
#include "postgres.h"
1517

1618
#include "nodes/pg_list.h"

src/backend/optimizer/prep/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
# Makefile for optimizer/prep
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.1 1996/10/27 09:48:46 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.2 1996/10/31 10:59:23 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../../..
1212
include ../../../Makefile.global
1313

14-
INCLUDE_OPT = -I../.. \
15-
-I../../port/$(PORTNAME) \
16-
-I../../include \
14+
INCLUDE_OPT = -I../../port/$(PORTNAME) \
1715
-I../../../include
1816

1917
CFLAGS+=$(INCLUDE_OPT)

src/backend/optimizer/prep/prepqual.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.1.1.1 1996/07/09 06:21:38 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.2 1996/10/31 10:59:27 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14+
#include <sys/types.h>
15+
1416
#include "postgres.h"
1517

1618
#include "nodes/pg_list.h"

0 commit comments

Comments
 (0)