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:
parent
c3e8d77b93
commit
8b69c86664
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/libstrongswan/musl.h
|
+++ b/src/libstrongswan/musl.h
|
||||||
@@ -0,0 +1,39 @@
|
@@ -0,0 +1,38 @@
|
||||||
+#include <sys/types.h>
|
+#include <sys/types.h>
|
||||||
+
|
+
|
||||||
+#define crypt x_crypt
|
+#define crypt x_crypt
|
||||||
|
@ -31,7 +31,6 @@
|
||||||
+#define nlink_t x_nlink_t
|
+#define nlink_t x_nlink_t
|
||||||
+#define timer_t x_timer_t
|
+#define timer_t x_timer_t
|
||||||
+#define blkcnt_t x_blkcnt_t
|
+#define blkcnt_t x_blkcnt_t
|
||||||
+#define __kernel_nlink_t void
|
|
||||||
+
|
+
|
||||||
+#include <linux/types.h>
|
+#include <linux/types.h>
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue