From f6e053202481631b12d75f6a552ee1aa8b355064 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:22:03 +1100 Subject: build: Remove SMB_STRUCT_DIR define --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index d42b04f18b..5d8c3a7680 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8253,7 +8253,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx, const char **prefixallowlist = lp_usershare_prefix_allow_list(); const char **prefixdenylist = lp_usershare_prefix_deny_list(); int us_vers; - SMB_STRUCT_DIR *dp; + DIR *dp; SMB_STRUCT_STAT sbuf; char *sharepath = NULL; char *comment = NULL; @@ -8732,7 +8732,7 @@ int load_usershare_service(const char *servicename) int load_usershare_shares(struct smbd_server_connection *sconn, bool (*snumused) (struct smbd_server_connection *, int)) { - SMB_STRUCT_DIR *dp; + DIR *dp; SMB_STRUCT_STAT sbuf; struct dirent *de; int num_usershares = 0; -- cgit