summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ppp')
-rw-r--r--accel-pptpd/ppp/ccp_mppe.c3
-rw-r--r--accel-pptpd/ppp/ipcp_opt_ipaddr.c3
-rw-r--r--accel-pptpd/ppp/lcp_opt_mru.c3
-rw-r--r--accel-pptpd/ppp/ppp.c6
-rw-r--r--accel-pptpd/ppp/ppp_ccp.c4
-rw-r--r--accel-pptpd/ppp/ppp_ipcp.c4
-rw-r--r--accel-pptpd/ppp/ppp_lcp.c4
7 files changed, 8 insertions, 19 deletions
diff --git a/accel-pptpd/ppp/ccp_mppe.c b/accel-pptpd/ppp/ccp_mppe.c
index 2f3e083..2302c02 100644
--- a/accel-pptpd/ppp/ccp_mppe.c
+++ b/accel-pptpd/ppp/ccp_mppe.c
@@ -3,8 +3,7 @@
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <net/if.h>
-#include <linux/if_ppp.h>
+#include "linux_ppp.h"
#include "ppp.h"
#include "ppp_ccp.h"
diff --git a/accel-pptpd/ppp/ipcp_opt_ipaddr.c b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
index b2c1b8b..3bec543 100644
--- a/accel-pptpd/ppp/ipcp_opt_ipaddr.c
+++ b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
@@ -4,9 +4,8 @@
#include <errno.h>
#include <arpa/inet.h>
#include <sys/socket.h>
-#include <net/if.h>
#include <sys/ioctl.h>
-#include <linux/if_ppp.h>
+#include "linux_ppp.h"
#include "ppp.h"
#include "ppp_ipcp.h"
diff --git a/accel-pptpd/ppp/lcp_opt_mru.c b/accel-pptpd/ppp/lcp_opt_mru.c
index 1af57e0..8f460a1 100644
--- a/accel-pptpd/ppp/lcp_opt_mru.c
+++ b/accel-pptpd/ppp/lcp_opt_mru.c
@@ -4,9 +4,8 @@
#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
-#include <net/if.h>
-#include <linux/if_ppp.h>
#include <sys/ioctl.h>
+#include "linux_ppp.h"
#include "ppp.h"
#include "ppp_lcp.h"
diff --git a/accel-pptpd/ppp/ppp.c b/accel-pptpd/ppp/ppp.c
index 9ba899f..4fdcb01 100644
--- a/accel-pptpd/ppp/ppp.c
+++ b/accel-pptpd/ppp/ppp.c
@@ -1,4 +1,3 @@
-
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
@@ -8,9 +7,8 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
-#include <linux/ppp_defs.h>
-#include <linux/if.h>
-#include <linux/if_ppp.h>
+#include "linux_ppp.h"
+
#include <openssl/md5.h>
#include "triton.h"
diff --git a/accel-pptpd/ppp/ppp_ccp.c b/accel-pptpd/ppp/ppp_ccp.c
index de3270e..af776e4 100644
--- a/accel-pptpd/ppp/ppp_ccp.c
+++ b/accel-pptpd/ppp/ppp_ccp.c
@@ -2,10 +2,8 @@
#include <string.h>
#include <errno.h>
#include <sys/socket.h>
-#include <linux/ppp_defs.h>
-#include <linux/if.h>
-#include <linux/if_ppp.h>
#include <sys/ioctl.h>
+#include "linux_ppp.h"
#include "triton.h"
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c
index 2da6780..c834873 100644
--- a/accel-pptpd/ppp/ppp_ipcp.c
+++ b/accel-pptpd/ppp/ppp_ipcp.c
@@ -1,10 +1,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
-#include <linux/ppp_defs.h>
-#include <linux/if.h>
-#include <linux/if_ppp.h>
#include <arpa/inet.h>
+#include "linux_ppp.h"
#include "triton.h"
diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c
index c57afed..7a87766 100644
--- a/accel-pptpd/ppp/ppp_lcp.c
+++ b/accel-pptpd/ppp/ppp_lcp.c
@@ -1,10 +1,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
-#include <linux/ppp_defs.h>
-#include <linux/if.h>
-#include <linux/if_ppp.h>
#include <arpa/inet.h>
+#include "linux_ppp.h"
#include "triton.h"