summaryrefslogtreecommitdiff
path: root/access.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2021-02-01 16:31:28 -0800
committerWayne Davison <wayne@opencoder.net>2021-02-01 16:31:28 -0800
commitec3833c96e4ca652a36d7cf2448d1019a056b738 (patch)
tree30dee8ef0e981661730ce22c2c9a7dcbf4a0ae80 /access.c
parent25dfc2c41d6c5f6ccc05eca7a663f46e28e7bddf (diff)
downloadrsync-ec3833c96e4ca652a36d7cf2448d1019a056b738.tar.gz
Add optional netgroup.h include for NetBSD hosts.
Diffstat (limited to 'access.c')
-rw-r--r--access.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/access.c b/access.c
index 39a7752a..f6d6e272 100644
--- a/access.c
+++ b/access.c
@@ -20,6 +20,9 @@
#include "rsync.h"
#include "ifuncs.h"
+#ifdef HAVE_NETGROUP_H
+#include <netgroup.h>
+#endif
static int allow_forward_dns;