summaryrefslogtreecommitdiff
path: root/databases/pgpool2/patches/patch-src_watchdog_wd__escalation.c
blob: 4316fb687d817cb5b6fae8f3387586016f28ba9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_watchdog_wd__escalation.c,v 1.1 2016/03/11 21:30:55 fhajny Exp $

Add sys/wait.h unconditionally, same as other source files.

--- src/watchdog/wd_escalation.c.orig	2016-02-10 08:53:31.000000000 +0000
+++ src/watchdog/wd_escalation.c
@@ -27,9 +27,7 @@
 #include <unistd.h>
 #include <errno.h>
 
-#ifdef __FreeBSD__
 #include <sys/wait.h>
-#endif
 
 #include "pool.h"
 #include "utils/elog.h"