]> granicus.if.org Git - postgresql/commitdiff
Fix inclusions in pg_receivexlog.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Mar 2013 18:11:48 +0000 (14:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Mar 2013 18:11:48 +0000 (14:11 -0400)
Apparently this was depending on pqsignal.h for <signal.h>.
Not sure why I didn't see the failure on my other machine.

src/bin/pg_basebackup/pg_receivexlog.c

index e65f127d1d86a08dd9dfa4b0eb636dc6b13d1c24..e68f8ea7079a6c2c0bf7dc180dadde37c57b9570 100644 (file)
  */
 
 #include "postgres_fe.h"
-#include "libpq-fe.h"
-#include "access/xlog_internal.h"
-
-#include "receivelog.h"
-#include "streamutil.h"
 
 #include <dirent.h>
+#include <signal.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
 
+#include "libpq-fe.h"
+#include "access/xlog_internal.h"
 #include "getopt_long.h"
 
+#include "receivelog.h"
+#include "streamutil.h"
+
+
 /* Time to sleep between reconnection attempts */
 #define RECONNECT_SLEEP_TIME 5