summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-10-23 09:38:53 +0530
committerAmit Kapila <akapila@postgresql.org>2019-10-25 07:41:52 +0530
commitdddf4cdc3300073ec04b2c3e482a4c1fa4b8191b (patch)
tree26b60bc73f8050ee8fc6f0d8c070f2081a7761ac /src/interfaces/libpq/fe-connect.c
parent8270a0d9a948944871dd35d9ff0d5c0d8d78623f (diff)
Make the order of the header file includes consistent in non-backend modules.
Similar to commit 7e735035f2, this commit makes the order of header file inclusion consistent for non-backend modules. In passing, fix the case where we were using angle brackets (<>) for the local module includes instead of quotes (""). Author: Vignesh C Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 99051231a6e..dcd86ee8043 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -21,10 +21,16 @@
#include <time.h>
#include <unistd.h>
+#include "common/ip.h"
+#include "common/link-canary.h"
+#include "common/scram-common.h"
+#include "common/string.h"
+#include "fe-auth.h"
#include "libpq-fe.h"
#include "libpq-int.h"
-#include "fe-auth.h"
+#include "mb/pg_wchar.h"
#include "pg_config_paths.h"
+#include "port/pg_bswap.h"
#ifdef WIN32
#include "win32.h"
@@ -70,14 +76,6 @@ static int ldapServiceLookup(const char *purl, PQconninfoOption *options,
PQExpBuffer errorMessage);
#endif
-#include "common/ip.h"
-#include "common/link-canary.h"
-#include "common/scram-common.h"
-#include "common/string.h"
-#include "mb/pg_wchar.h"
-#include "port/pg_bswap.h"
-
-
#ifndef WIN32
#define PGPASSFILE ".pgpass"
#else