From ab818cdf8b78fd727c5b704dad65d524bc902b63 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 12 Aug 2009 17:25:46 +0200 Subject: [PATCH] s3 wbinfo: Explicitly include popt header, remove unused common options. --- nsswitch/wbinfo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 93de091679f1..70742c9283ec 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -23,7 +23,12 @@ #include "includes.h" #include "winbind_client.h" #include "libwbclient/wbclient.h" +#include "lib/popt/popt.h" #include "../libcli/auth/libcli_auth.h" +#if !(_SAMBA_VERSION_) < 4 +#include "lib/cmdline/popt_common.h" +#endif + #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND @@ -1751,7 +1756,6 @@ int main(int argc, char **argv, char **envp) { "change-user-password", 0, POPT_ARG_STRING, &string_arg, OPT_CHANGE_USER_PASSWORD, "Change the password for a user", NULL }, { "ntlmv2", 0, POPT_ARG_NONE, 0, OPT_NTLMV2, "Use NTLMv2 cryptography for user authentication", NULL}, { "lanman", 0, POPT_ARG_NONE, 0, OPT_LANMAN, "Use lanman cryptography for user authentication", NULL}, - POPT_COMMON_CONFIGFILE POPT_COMMON_VERSION POPT_TABLEEND }; -- 2.34.1