mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 15:36:19 +04:00
Merge pull request #3501 from dedeckeh/pr-strongswan-netlink
strongswan: Fix compile error due to __kernel_nlink_t being re-defined
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
--- /dev/null
|
||||
+++ b/src/libstrongswan/musl.h
|
||||
@@ -0,0 +1,39 @@
|
||||
@@ -0,0 +1,38 @@
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
+#define crypt x_crypt
|
||||
@@ -31,7 +31,6 @@
|
||||
+#define nlink_t x_nlink_t
|
||||
+#define timer_t x_timer_t
|
||||
+#define blkcnt_t x_blkcnt_t
|
||||
+#define __kernel_nlink_t void
|
||||
+
|
||||
+#include <linux/types.h>
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user