summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-01 18:14:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:30 -0500
commit6c6e231f15c100f1f3449f2656257e120b1071af (patch)
treeba73689b12b2988617631895d8e412239cc2eaf5 /source3/smbd
parentc1d7588c74ecfb8cf613256629e272b81f154aa6 (diff)
downloadsamba-6c6e231f15c100f1f3449f2656257e120b1071af.tar.gz
samba-6c6e231f15c100f1f3449f2656257e120b1071af.tar.bz2
samba-6c6e231f15c100f1f3449f2656257e120b1071af.zip
r5157: BUG 2266: conditionally include rpc/nettype.h to work around missing header onf FreeBSD4
(This used to be commit 314da604735696da4cf350f35d84592356e31861)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/quotas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index a96f50ad02..1117461bc2 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -938,7 +938,9 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
#include <rpc/rpc.h>
#include <rpc/types.h>
#include <rpcsvc/rquota.h>
+#ifdef HAVE_RPC_NETTYPE_H
#include <rpc/nettype.h>
+#endif
#include <rpc/xdr.h>
static int quotastat;