Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 30b9a44

Browse files
committed
Remove unnecessary include
Between 6eeb95f and 7b1c2a0, builtins.h contained additional prototypes that have now been moved elsewhere, so we don't need to include nodes/parsenodes.h anymore. Fix some files that were relying on builtins.h implicitly pulling in some unrelated stuff they needed. Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
1 parent 5d7c9c9 commit 30b9a44

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/backend/catalog/pg_enum.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "catalog/pg_type.h"
2525
#include "storage/lmgr.h"
2626
#include "miscadmin.h"
27+
#include "nodes/value.h"
2728
#include "utils/builtins.h"
2829
#include "utils/catcache.h"
2930
#include "utils/fmgroids.h"

src/backend/utils/adt/oid.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include "catalog/pg_type.h"
2121
#include "libpq/pqformat.h"
22+
#include "nodes/value.h"
2223
#include "utils/array.h"
2324
#include "utils/builtins.h"
2425

src/include/utils/builtins.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#define BUILTINS_H
1616

1717
#include "fmgr.h"
18-
#include "nodes/parsenodes.h"
1918
#include "utils/sortsupport.h"
2019

2120
/*

0 commit comments

Comments
 (0)