Make storage/standby.h compile standalone again.
authorTom Lane <[email protected]>
Sun, 24 Jan 2021 23:08:55 +0000 (18:08 -0500)
committerTom Lane <[email protected]>
Sun, 24 Jan 2021 23:08:55 +0000 (18:08 -0500)
This file has failed headerscheck/cpluspluscheck verification since
commit 0650ff230, as a result of referencing typedef TimestampTz
without including the appropriate header.

src/include/storage/standby.h

index 2b1f340b82b8cbbfdc0a902250fc0445ded32d3a..94d33851d09e77b5c490b08d498bc2fa92ad0258 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef STANDBY_H
 #define STANDBY_H
 
+#include "datatype/timestamp.h"
 #include "storage/lock.h"
 #include "storage/procsignal.h"
 #include "storage/relfilenode.h"