mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
Bump sstp-client to 1.0.20 release. This fix compilation error with new PPPd version 2.5.0 as some API changed. Patch automatically refreshed. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
34 lines
704 B
Diff
34 lines
704 B
Diff
--- /dev/null
|
|
+++ b/include/net/ppp_defs.h
|
|
@@ -0,0 +1,10 @@
|
|
+#ifndef _NET_PPP_DEFS_H
|
|
+#define _NET_PPP_DEFS_H 1
|
|
+
|
|
+#define __need_time_t
|
|
+#include <time.h>
|
|
+
|
|
+#include <asm/types.h>
|
|
+#include <linux/ppp_defs.h>
|
|
+
|
|
+#endif /* net/ppp_defs.h */
|
|
--- a/src/libsstp-log/sstp-log-syslog.c
|
|
+++ b/src/libsstp-log/sstp-log-syslog.c
|
|
@@ -18,6 +18,7 @@
|
|
#include <sys/uio.h>
|
|
#include <sys/un.h>
|
|
#include <sys/socket.h>
|
|
+#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include <sstp-common.h>
|
|
--- a/src/libsstp-log/sstp-log-std.c
|
|
+++ b/src/libsstp-log/sstp-log-std.c
|
|
@@ -11,6 +11,7 @@
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
+#include <sys/types.h>
|
|
#include <sys/uio.h>
|
|
#include <unistd.h>
|
|
|