8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa69670 commit 9e45e03Copy full SHA for 9e45e03
src/bin/pg_basebackup/receivelog.c
@@ -19,6 +19,15 @@
19
*/
20
#define FRONTEND 1
21
#include "postgres.h"
22
+
23
+#include <sys/stat.h>
24
+#include <sys/time.h>
25
+#include <sys/types.h>
26
+#include <unistd.h>
27
+/* for ntohl/htonl */
28
+#include <netinet/in.h>
29
+#include <arpa/inet.h>
30
31
#include "libpq-fe.h"
32
#include "access/xlog_internal.h"
33
#include "utils/datetime.h"
@@ -27,11 +36,6 @@
36
#include "receivelog.h"
37
#include "streamutil.h"
38
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <unistd.h>
34
-
35
39
40
/* fd for currently open WAL file */
41
static int walfile = -1;
0 commit comments