pgpool2.git / summary / log / commit / refs
commit 4ceed7b25478093bfc9d48cb93e8ec76abe2c016
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Sun Oct 14 02:33:14 2012 +0000
Fix compile errors on FreeBSD.
watchdog/watchdog.c | 1 -
watchdog/wd_packet.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/watchdog/watchdog.c b/watchdog/watchdog.c
index efb781139..e65d26182 100644
--- a/watchdog/watchdog.c
+++ b/watchdog/watchdog.c
@@ -25,7 +25,6 @@
#include <string.h>
#include <stdlib.h>
#include <signal.h>
-#include <wait.h>
#include <ctype.h>
#include <sys/un.h>
#include <sys/types.h>
diff --git a/watchdog/wd_packet.c b/watchdog/wd_packet.c
index 560c11f0a..201f64ccb 100644
--- a/watchdog/wd_packet.c
+++ b/watchdog/wd_packet.c
@@ -33,6 +33,7 @@
#include <sys/un.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <arpa/inet.h>
[parent: 3f89a334fe08]