From 4f25735694e7c7e1c9a220d360fe36c8ae3e773e 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