|
@@ -0,0 +1,33 @@
|
|
1
|
+--- /dev/null
|
|
2
|
++++ b/include/net/ppp_defs.h
|
|
3
|
+@@ -0,0 +1,10 @@
|
|
4
|
++#ifndef _NET_PPP_DEFS_H
|
|
5
|
++#define _NET_PPP_DEFS_H 1
|
|
6
|
++
|
|
7
|
++#define __need_time_t
|
|
8
|
++#include <time.h>
|
|
9
|
++
|
|
10
|
++#include <asm/types.h>
|
|
11
|
++#include <linux/ppp_defs.h>
|
|
12
|
++
|
|
13
|
++#endif /* net/ppp_defs.h */
|
|
14
|
+--- a/src/libsstp-log/sstp-log-syslog.c
|
|
15
|
++++ b/src/libsstp-log/sstp-log-syslog.c
|
|
16
|
+@@ -32,6 +32,7 @@
|
|
17
|
+ #include <sys/uio.h>
|
|
18
|
+ #include <sys/un.h>
|
|
19
|
+ #include <sys/socket.h>
|
|
20
|
++#include <sys/types.h>
|
|
21
|
+ #include <unistd.h>
|
|
22
|
+
|
|
23
|
+ #include <sstp-common.h>
|
|
24
|
+--- a/src/libsstp-log/sstp-log-std.c
|
|
25
|
++++ b/src/libsstp-log/sstp-log-std.c
|
|
26
|
+@@ -25,6 +25,7 @@
|
|
27
|
+ #include <stdio.h>
|
|
28
|
+ #include <stdint.h>
|
|
29
|
+ #include <string.h>
|
|
30
|
++#include <sys/types.h>
|
|
31
|
+ #include <sys/uio.h>
|
|
32
|
+ #include <unistd.h>
|
|
33
|
+
|