]> git.sur5r.net Git - bacula/bacula/commitdiff
initgroups definition is ok on aix >= 5
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 3 Jan 2010 10:57:10 +0000 (11:57 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 3 Jan 2010 11:21:21 +0000 (12:21 +0100)
bacula/src/lib/priv.c

index 01ae7ac276cfb1b81e0bcf492169a6e0234d4b90..3e45db1afdf38d6ed5a48ecd327fba47beeeb354 100644 (file)
@@ -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
 
 /*