summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2014-04-23 17:03:47 +0200
committerChristian Ambach <ambi@samba.org>2014-06-04 20:09:39 +0200
commitb7ce3f6ce3326df5c5dc1d20fed389f899a0f6f6 (patch)
tree3b66aa31916c717cc89f6fff487d6fc4a6815fbf /source3/utils
parenteafb7e33bcb78e87dc3781fc2c9bf9a31f5281b2 (diff)
downloadsamba-b7ce3f6ce3326df5c5dc1d20fed389f899a0f6f6.tar.gz
samba-b7ce3f6ce3326df5c5dc1d20fed389f899a0f6f6.tar.xz
samba-b7ce3f6ce3326df5c5dc1d20fed389f899a0f6f6.zip
waf: fixup build with fake kaserver enabled
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_afs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_afs.c b/source3/utils/net_afs.c
index 6049a5cae1..3668e3cbad 100644
--- a/source3/utils/net_afs.c
+++ b/source3/utils/net_afs.c
@@ -25,6 +25,8 @@
#include "lib/afs/afs_funcs.h"
#include "lib/afs/afs_settoken.h"
+#ifdef WITH_FAKE_KASERVER
+
int net_afs_usage(struct net_context *c, int argc, const char **argv)
{
d_printf(_(" net afs key filename\n"
@@ -120,3 +122,4 @@ int net_afs(struct net_context *c, int argc, const char **argv)
return net_run_function(c, argc, argv, "net afs", func);
}
+#endif /* WITH_FAKE_KASERVER */