]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/passwordfd.c
Changing the define USE_EAPTLS to PPP_WITH_EAPTLS for consistency
[ppp.git] / pppd / plugins / passwordfd.c
index c3f9793e41a01b141da91d7a5370e04dec51af83..9a0cd822fa96a8a4f80c4a14eb862b89892ac6fd 100644 (file)
@@ -7,6 +7,10 @@
  *  with pap- and chap-secrets files.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
@@ -80,7 +84,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
 }