Browse Source

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>
lilik-openwrt-22.03
Hans Dedecker 8 years ago
parent
commit
8b69c86664
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      net/strongswan/patches/101-musl-fixes.patch

+ 1
- 2
net/strongswan/patches/101-musl-fixes.patch View File

@ -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>
+


Loading…
Cancel
Save