mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
strongswan: Fix compile error due to __kernel_nlink_t being re-defined
Patch 101-musl-fixes defines __kernel_nlink_t as void; but using a pre-3.6.11 kernel on an arm cortex defines __kernel_nlink_t as unsigned short using uclibc Fix the compile issue by not redefining __kernel_nlink_t Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
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