]> granicus.if.org Git - postgresql/blobdiff - src/interfaces/libpq/fe-misc.c
Make the order of the header file includes consistent in non-backend modules.
[postgresql] / src / interfaces / libpq / fe-misc.c
index 2d44845ccb2c3924cfce070f06298b9497d9c016..a7c08c5c88a4b4329466ddc39f509b3551bab90e 100644 (file)
@@ -7,7 +7,7 @@
  *              miscellaneous useful functions
  *
  * The communication routines here are analogous to the ones in
- * backend/libpq/pqcomm.c and backend/libpq/pqcomprim.c, but operate
+ * backend/libpq/pqcomm.c and backend/libpq/pqformat.c, but operate
  * in the considerably different environment of the frontend libpq.
  * In particular, we work with a bare nonblock-mode socket, rather than
  * a stdio stream, so that we can avoid unwanted blocking of the application.
@@ -50,9 +50,8 @@
 #include "libpq-fe.h"
 #include "libpq-int.h"
 #include "mb/pg_wchar.h"
-#include "port/pg_bswap.h"
 #include "pg_config_paths.h"
-
+#include "port/pg_bswap.h"
 
 static int     pqPutMsgBytes(const void *buf, size_t len, PGconn *conn);
 static int     pqSendSome(PGconn *conn, int len);