X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpasswordfd.c;h=6f8bc6f0be78265838f8f5733833f4c974fe7e82;hb=76016e1b948b7d9675b4e0750d1f943d96d9523b;hp=84fd72e3b9b6994a43d112410de3312744cdf3bc;hpb=032020241d270c53dff479a7b0eb7fe487c56a78;p=ppp.git diff --git a/pppd/plugins/passwordfd.c b/pppd/plugins/passwordfd.c index 84fd72e..6f8bc6f 100644 --- a/pppd/plugins/passwordfd.c +++ b/pppd/plugins/passwordfd.c @@ -7,18 +7,14 @@ * with pap- and chap-secrets files. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include #include #include -#include "pppd.h" +#include -char pppd_version[] = VERSION; +char pppd_version[] = PPPD_VERSION; static int passwdfd = -1; static char save_passwd[MAXSECRETLEN]; @@ -84,7 +80,7 @@ void plugin_init (void) chap_check_hook = pwfd_check; chap_passwd_hook = pwfd_passwd; -#ifdef USE_EAPTLS +#ifdef PPP_WITH_EAPTLS eaptls_passwd_hook = pwfd_passwd; #endif }