X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fplugins%2Fpassprompt.c;h=14a199f8c743e574a71538d996998fd0361fcafe;hb=607d8eadccfd62c1fa84a36bd1440bd48b4e55ca;hp=743c087b47805ea002b026dd7cf36a6b2ef5afb4;hpb=05f088613bebc9fb743c309e9b9390d376387f1c;p=ppp.git diff --git a/pppd/plugins/passprompt.c b/pppd/plugins/passprompt.c index 743c087..14a199f 100644 --- a/pppd/plugins/passprompt.c +++ b/pppd/plugins/passprompt.c @@ -9,17 +9,15 @@ * 2 of the License, or (at your option) any later version. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include #include +#include +#include #include -#include "pppd.h" +#include -char pppd_version[] = VERSION; +char pppd_version[] = PPPD_VERSION; static char promptprog[PATH_MAX+1]; static int promptprog_refused = 0; @@ -124,7 +122,7 @@ void plugin_init(void) { add_options(options); pap_passwd_hook = promptpass; -#ifdef USE_EAPTLS +#ifdef PPP_WITH_EAPTLS eaptls_passwd_hook = promptpass; #endif }