From a89084c6b5de29466db7b4d676c8859cdd1f3c59 Mon Sep 17 00:00:00 2001 From: Christoph Moench-Tegeder Date: Tue, 19 Sep 2017 17:31:49 +0200 Subject: [PATCH] include sys/wait.h for wait() and friends the wait()-macros (WEXITSTATUS etc.) live in sys/wait.h as per 1003.1, and on some platforms (notably FreeBSD) compilation will fail if wait.h isn't included explicitely. --- repmgr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/repmgr.h b/repmgr.h index ff8f4022..0e439717 100644 --- a/repmgr.h +++ b/repmgr.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include