]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/passwordfd.c
Update DFS's legal name and email address to correct values. (#381)
[ppp.git] / pppd / plugins / passwordfd.c
index 84fd72e3b9b6994a43d112410de3312744cdf3bc..6f8bc6f0be78265838f8f5733833f4c974fe7e82 100644 (file)
@@ -7,18 +7,14 @@
  *  with pap- and chap-secrets files.
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include <stdio.h>
 #include <errno.h>
 #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];
@@ -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
 }