ppp: make the patches apply correctly again
[openwrt/staging/stintel.git] / package / network / services / ppp / patches / 500-add-pptp-plugin.patch
index d984e1b1628fff9fa4c57fca2f6f3da016feef77..5ed861d5451ac43b79425912090fe43d92f44b45 100644 (file)
 +                         struct in_addr localbind);
 --- /dev/null
 +++ b/pppd/plugins/pptp/pptp_ctrl.c
-@@ -0,0 +1,1077 @@
+@@ -0,0 +1,1078 @@
 +/* pptp_ctrl.c ... handle PPTP control connection.
 + *                 C. Scott Ananian <cananian@alumni.princeton.edu>
 + *
 +#include <string.h>
 +#include <ctype.h>
 +#include <fcntl.h>
++#include "pppd.h"
 +#include "pptp_msg.h"
 +#include "pptp_ctrl.h"
 +#include "pptp_options.h"