diff options
author | Amit Kapila | 2019-11-25 02:38:57 +0000 |
---|---|---|
committer | Amit Kapila | 2019-11-25 02:38:57 +0000 |
commit | e0487223ecac9cbb7f673e4ff6d2e4086e591abf (patch) | |
tree | 31eda4c126c75e7915b451cbbfb739984b68c9be /contrib/btree_gist | |
parent | 2aa84520b3508dda273b9bbffab7bf87f0d98bf8 (diff) |
Make the order of the header file includes consistent.
Similar to commits 14aec03502, 7e735035f2 and dddf4cdc33, this commit
makes the order of header file inclusion consistent in more places.
Author: Vignesh C
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
Diffstat (limited to 'contrib/btree_gist')
-rw-r--r-- | contrib/btree_gist/btree_gist.h | 2 | ||||
-rw-r--r-- | contrib/btree_gist/btree_utils_num.h | 8 | ||||
-rw-r--r-- | contrib/btree_gist/btree_utils_var.h | 3 |
3 files changed, 6 insertions, 7 deletions
diff --git a/contrib/btree_gist/btree_gist.h b/contrib/btree_gist/btree_gist.h index 011285abce0..14c7c8ee193 100644 --- a/contrib/btree_gist/btree_gist.h +++ b/contrib/btree_gist/btree_gist.h @@ -4,8 +4,8 @@ #ifndef __BTREE_GIST_H__ #define __BTREE_GIST_H__ -#include "fmgr.h" #include "access/nbtree.h" +#include "fmgr.h" #define BtreeGistNotEqualStrategyNumber 6 diff --git a/contrib/btree_gist/btree_utils_num.h b/contrib/btree_gist/btree_utils_num.h index 50907b3b5c6..1fedfbe82da 100644 --- a/contrib/btree_gist/btree_utils_num.h +++ b/contrib/btree_gist/btree_utils_num.h @@ -4,13 +4,13 @@ #ifndef __BTREE_UTILS_NUM_H__ #define __BTREE_UTILS_NUM_H__ -#include "btree_gist.h" -#include "access/gist.h" -#include "utils/rel.h" - #include <math.h> #include <float.h> +#include "access/gist.h" +#include "btree_gist.h" +#include "utils/rel.h" + typedef char GBT_NUMKEY; /* Better readable key */ diff --git a/contrib/btree_gist/btree_utils_var.h b/contrib/btree_gist/btree_utils_var.h index 1f2ca43e6bc..2f8def655c8 100644 --- a/contrib/btree_gist/btree_utils_var.h +++ b/contrib/btree_gist/btree_utils_var.h @@ -4,9 +4,8 @@ #ifndef __BTREE_UTILS_VAR_H__ #define __BTREE_UTILS_VAR_H__ -#include "btree_gist.h" - #include "access/gist.h" +#include "btree_gist.h" #include "mb/pg_wchar.h" /* Variable length key */ |