Browse Source

strongswan: add more exceptions to musl-fixes

Signed-off-by: Steven Barth <steven@midlink.org>
lilik-openwrt-22.03
Steven Barth 10 years ago
parent
commit
c665325f8c
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      net/strongswan/patches/101-musl-fixes.patch

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

@ -10,7 +10,7 @@
--- /dev/null
+++ b/src/libstrongswan/musl.h
@@ -0,0 +1,33 @@
@@ -0,0 +1,39 @@
+#include <sys/types.h>
+
+#define crypt x_crypt
@ -25,6 +25,9 @@
+#define mode_t x_mode_t
+#define uid_t x_uid_t
+#define gid_t x_gid_t
+#define uint64_t x_uint64_t
+#define u_int64_t x_u_int64_t
+#define int64_t x_int64_t
+#define nlink_t x_nlink_t
+#define timer_t x_timer_t
+#define blkcnt_t x_blkcnt_t
@ -39,6 +42,9 @@
+#undef mode_t
+#undef uid_t
+#undef gid_t
+#undef uint64_t
+#undef u_int64_t
+#undef int64_t
+#undef nlink_t
+#undef timer_t
+#undef blkcnt_t


Loading…
Cancel
Save