This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#3039
from dedeckeh/strongswan-musl
strongswan: Include musl.h after _GNU_SOURCE define
lilik-openwrt-22.03
Stijn Tintel
8 years ago
committed by
GitHub
parent
66afa4483d
fbbab2e7a7
commit
e122cb0571
1 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-4
net/strongswan/patches/101-musl-fixes.patch
+ 3
- 4
net/strongswan/patches/101-musl-fixes.patch
View File
@ -52,15 +52,14 @@
+#undef encrypt
--- a/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
+++ b/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
@@ -18,6 +18,8 @@
* for more details.
@@ -19,6 +19,7 @@
*/
+#include <musl.h>
+
#define _GNU_SOURCE
+#include <musl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdint.h>
--- a/src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c
+++ b/src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c
@@ -37,6 +37,8 @@
Write
Preview
Loading…
Cancel
Save