From: Volker Lendecke Date: Sun, 23 Nov 2008 11:13:48 +0000 (+0100) Subject: fix the build X-Git-Tag: samba-4.0.0alpha6~480^2~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34fc529d95c3e45e7c4b81246864b3de5ca73fd8;p=thirdparty%2Fsamba.git fix the build --- diff --git a/source4/utils/net/net_machinepw.c b/source4/utils/net/net_machinepw.c index 8c2fac95571..710d889c19c 100644 --- a/source4/utils/net/net_machinepw.c +++ b/source4/utils/net/net_machinepw.c @@ -25,6 +25,7 @@ #include "param/secrets.h" #include "param/param.h" #include "lib/events/events.h" +#include "lib/util/util_ldb.h" int net_machinepw_usage(struct net_context *ctx, int argc, const char **argv) { @@ -38,7 +39,6 @@ int net_machinepw(struct net_context *ctx, int argc, const char **argv) TALLOC_CTX *mem_ctx; struct event_context *ev; struct ldb_message **msgs; - int res; int num_records; const char *attrs[] = { "secret", NULL }; const char *secret;