diff options
Diffstat (limited to 'rpc/rpc-lib/src/xdr-rpc.c')
-rw-r--r-- | rpc/rpc-lib/src/xdr-rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/xdr-rpc.c b/rpc/rpc-lib/src/xdr-rpc.c index adb48a53186..d016668b9a3 100644 --- a/rpc/rpc-lib/src/xdr-rpc.c +++ b/rpc/rpc-lib/src/xdr-rpc.c @@ -193,7 +193,7 @@ xdr_to_auth_unix_cred (char *msgbuf, int msglen, struct authunix_parms *au, GF_VALIDATE_OR_GOTO ("rpc", au, out); au->aup_machname = machname; -#ifdef GF_DARWIN_HOST_OS +#if defined(GF_DARWIN_HOST_OS) || defined(__FreeBSD__) au->aup_gids = (int *)gids; #else au->aup_gids = gids; |