summaryrefslogtreecommitdiff
path: root/accel-pptpd/pptp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/pptp.c')
-rw-r--r--accel-pptpd/pptp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pptpd/pptp.c b/accel-pptpd/pptp.c
index a8aef873..3104e60e 100644
--- a/accel-pptpd/pptp.c
+++ b/accel-pptpd/pptp.c
@@ -8,6 +8,7 @@
#include <time.h>
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <sys/socket.h>
#include "if_pppox.h"
@@ -445,7 +446,7 @@ static struct pptp_serv_t serv=
.ctx.close=pptp_serv_close,
};
-void __init pptp_init(void)
+static void __init pptp_init(void)
{
struct sockaddr_in addr;