diff options
author | Tomas Vondra | 2017-08-21 12:38:29 +0000 |
---|---|---|
committer | Tomas Vondra | 2017-08-21 12:54:32 +0000 |
commit | 83f680a33db9baef5b2e5d1a15a45b77620d6479 (patch) | |
tree | 0341ad38dda03ab00ea9a6913eb3ea04d1fb51f5 | |
parent | 8928e4325a48226a785f2e9336bebef49ff15efc (diff) |
Add missing sys/wait.h include to pgxc_monitor
Without this include, the build on FreeBSD fails due to missing
definition of WEXITSTATUS.
-rw-r--r-- | contrib/pgxc_monitor/pgxc_monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h> #include <getopt.h> +#include <sys/wait.h> /* Define all the node types */ typedef enum |