From 578fe54d708ea83ee2a9b67ab83dd060ea0b7f3c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 3 Jan 2010 11:57:10 +0100 Subject: [PATCH] initgroups definition is ok on aix >= 5 --- bacula/src/lib/priv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/lib/priv.c b/bacula/src/lib/priv.c index 01ae7ac276..3e45db1afd 100644 --- a/bacula/src/lib/priv.c +++ b/bacula/src/lib/priv.c @@ -39,7 +39,9 @@ #endif #ifdef HAVE_AIX_OS +# if defined(_AIX41) || defined(_AIX42) || defined(_AIX43) extern "C" int initgroups(const char *,int); +# endif #endif /* -- 2.39.5