Permalink
Browse files

Fix inclusions in pg_receivexlog.c.

Apparently this was depending on pqsignal.h for <signal.h>.
Not sure why I didn't see the failure on my other machine.
  • Loading branch information...
1 parent da5aecc commit c68b5eff13b97ecaaa87b24406455fafe568aa3f @tglsfdc tglsfdc committed Mar 17, 2013
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/bin/pg_basebackup/pg_receivexlog.c
@@ -13,19 +13,21 @@
*/
#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

0 comments on commit c68b5ef

Please sign in to comment.