]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/passwordfd.c
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / plugins / passwordfd.c
index c3f9793e41a01b141da91d7a5370e04dec51af83..6f8bc6f0be78265838f8f5733833f4c974fe7e82 100644 (file)
@@ -12,9 +12,9 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "pppd.h"
+#include <pppd/pppd.h>
 
-char pppd_version[] = VERSION;
+char pppd_version[] = PPPD_VERSION;
 
 static int passwdfd = -1;
 static char save_passwd[MAXSECRETLEN];
@@ -80,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
 }