From: Tomas Vondra Date: Mon, 21 Aug 2017 12:38:29 +0000 (+0200) Subject: Add missing sys/wait.h include to pgxc_monitor X-Git-Tag: XL_10_R1BETA1~163 X-Git-Url: http://git.postgresql.org/gitweb/static/session/%7B%7Bsession.id%7D%7D-%7B%7Bsession.title%7Cslugify%7D%7D?a=commitdiff_plain;h=83f680a33db9baef5b2e5d1a15a45b77620d6479;p=postgres-xl.git Add missing sys/wait.h include to pgxc_monitor Without this include, the build on FreeBSD fails due to missing definition of WEXITSTATUS. --- diff --git a/contrib/pgxc_monitor/pgxc_monitor.c b/contrib/pgxc_monitor/pgxc_monitor.c index 155cb1718d..243ebcd0af 100644 --- a/contrib/pgxc_monitor/pgxc_monitor.c +++ b/contrib/pgxc_monitor/pgxc_monitor.c @@ -49,6 +49,7 @@ #include #include +#include /* Define all the node types */ typedef enum