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[email protected]
#include
#include
#include
+
+#ifdef USE_LZ4
+#include
+#endif
#ifdef HAVE_LIBZ
#include
#endif
#include "receivelog.h"
#include "streamutil.h"
-#ifdef USE_LZ4
-#include "lz4frame.h"
-#endif
-
/* Time to sleep between reconnection attempts */
#define RECONNECT_SLEEP_TIME 5