mirror of
https://github.com/postgres/postgres.git
synced 2026-04-04 16:55:45 -04:00
Fix header inclusion order in pg_receivewal.c
lz4frame.h was getting declared after the headers specific to Postgres,
but it needs to be included between postgres_fe.h and the internal
headers.
Issue introduced by babbbb5.
Reported-by: Justin Prysby
Discussion: https://postgr.es/m/20220317111220.GI28503@telsasoft.com
This commit is contained in:
parent
b2397aae23
commit
f512efb2d5
1 changed files with 4 additions and 4 deletions
|
|
@ -19,6 +19,10 @@
|
|||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef USE_LZ4
|
||||
#include <lz4frame.h>
|
||||
#endif
|
||||
#ifdef HAVE_LIBZ
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
|
@ -32,10 +36,6 @@
|
|||
#include "receivelog.h"
|
||||
#include "streamutil.h"
|
||||
|
||||
#ifdef USE_LZ4
|
||||
#include "lz4frame.h"
|
||||
#endif
|
||||
|
||||
/* Time to sleep between reconnection attempts */
|
||||
#define RECONNECT_SLEEP_TIME 5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue