X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fupap.c;h=822fb0a1b7abbbadc9ddc2bb1361fef3742f600d;hb=797cdae57c27ed74a5ec3b4675f31f2c6cfc98ae;hp=0ae02888281d9eb069763442a862def2025e6b93;hpb=5ece6e68baaf9fdbd6e73daa7b27335f8852d85b;p=ppp.git diff --git a/pppd/upap.c b/pppd/upap.c index 0ae0288..822fb0a 100644 --- a/pppd/upap.c +++ b/pppd/upap.c @@ -40,6 +40,10 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* * TODO: */ @@ -47,7 +51,8 @@ #include #include -#include "pppd.h" +#include "pppd-private.h" +#include "options.h" #include "upap.h" @@ -56,7 +61,7 @@ static bool hide_password = 1; /* * Command-line options. */ -static option_t pap_option_list[] = { +static struct option pap_option_list[] = { { "hide-password", o_bool, &hide_password, "Don't output passwords to log", OPT_PRIO | 1 }, { "show-password", o_bool, &hide_password,