summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/fork_process.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-11-12 08:30:16 +0530
committerAmit Kapila <akapila@postgresql.org>2019-11-12 08:30:16 +0530
commit14aec03502302eff6c67981d8fd121175c436ce9 (patch)
treed2960e19d086498964a5eeeb68082ac42fee20f2 /src/backend/postmaster/fork_process.c
parentb6423e92abfadaa1ed9642319872aa1654403cd6 (diff)
Make the order of the header file includes consistent in backend modules.
Similar to commits 7e735035f2 and dddf4cdc33, this commit makes the order of header file inclusion consistent for backend modules. In the passing, removed a couple of duplicate inclusions. Author: Vignesh C Reviewed-by: Kuntal Ghosh and Amit Kapila Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
Diffstat (limited to 'src/backend/postmaster/fork_process.c')
-rw-r--r--src/backend/postmaster/fork_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/postmaster/fork_process.c b/src/backend/postmaster/fork_process.c
index a9138f589ee..59385c5d2b7 100644
--- a/src/backend/postmaster/fork_process.c
+++ b/src/backend/postmaster/fork_process.c
@@ -10,7 +10,6 @@
* src/backend/postmaster/fork_process.c
*/
#include "postgres.h"
-#include "postmaster/fork_process.h"
#include <fcntl.h>
#include <time.h>
@@ -21,6 +20,8 @@
#include <openssl/rand.h>
#endif
+#include "postmaster/fork_process.h"
+
#ifndef WIN32
/*
* Wrapper for fork(). Return values are the same as those for fork():