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.c1
-rw-r--r--accel-pptpd/ppp/lcp_opt_mru.c1
-rw-r--r--accel-pptpd/ppp/ppp.c1
-rw-r--r--accel-pptpd/ppp/ppp_ccp.c2
-rw-r--r--accel-pptpd/ppp/ppp_ipcp.c2
-rw-r--r--accel-pptpd/ppp/ppp_lcp.c2
7 files changed, 11 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ccp_mppe.c b/accel-pptpd/ppp/ccp_mppe.c
index 3ac3ad6a..695e62d5 100644
--- a/accel-pptpd/ppp/ccp_mppe.c
+++ b/accel-pptpd/ppp/ccp_mppe.c
@@ -1,9 +1,10 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <linux/if_ppp.h>
#include <net/if.h>
+#include <linux/if_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 efbc41ec..b2c1b8b3 100644
--- a/accel-pptpd/ppp/ipcp_opt_ipaddr.c
+++ b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
@@ -3,6 +3,7 @@
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <linux/if_ppp.h>
diff --git a/accel-pptpd/ppp/lcp_opt_mru.c b/accel-pptpd/ppp/lcp_opt_mru.c
index eab57b02..1af57e01 100644
--- a/accel-pptpd/ppp/lcp_opt_mru.c
+++ b/accel-pptpd/ppp/lcp_opt_mru.c
@@ -2,6 +2,7 @@
#include <string.h>
#include <errno.h>
#include <stdio.h>
+#include <sys/socket.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <linux/if_ppp.h>
diff --git a/accel-pptpd/ppp/ppp.c b/accel-pptpd/ppp/ppp.c
index 24795b12..4acf451d 100644
--- a/accel-pptpd/ppp/ppp.c
+++ b/accel-pptpd/ppp/ppp.c
@@ -9,6 +9,7 @@
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <linux/ppp_defs.h>
+#include <linux/if.h>
#include <linux/if_ppp.h>
#include <openssl/md5.h>
diff --git a/accel-pptpd/ppp/ppp_ccp.c b/accel-pptpd/ppp/ppp_ccp.c
index 5d779f59..4f30aa99 100644
--- a/accel-pptpd/ppp/ppp_ccp.c
+++ b/accel-pptpd/ppp/ppp_ccp.c
@@ -1,7 +1,9 @@
#include <stdlib.h>
#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>
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c
index fecbc687..15103e08 100644
--- a/accel-pptpd/ppp/ppp_ipcp.c
+++ b/accel-pptpd/ppp/ppp_ipcp.c
@@ -1,6 +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>
diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c
index 6c5c2fe6..2bbfd56a 100644
--- a/accel-pptpd/ppp/ppp_lcp.c
+++ b/accel-pptpd/ppp/ppp_lcp.c
@@ -1,6 +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>