strongswan: refresh musl compatibility fixes
Signed-off-by: Steven Barth <steven@midlink.org>
This commit is contained in:
parent
103f622523
commit
9bf0217f2f
1 changed files with 7 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/libstrongswan/musl.h
|
+++ b/src/libstrongswan/musl.h
|
||||||
@@ -0,0 +1,27 @@
|
@@ -0,0 +1,33 @@
|
||||||
+#include <sys/types.h>
|
+#include <sys/types.h>
|
||||||
+
|
+
|
||||||
+#define crypt x_crypt
|
+#define crypt x_crypt
|
||||||
|
@ -22,6 +22,9 @@
|
||||||
+#define off_t x_off_t
|
+#define off_t x_off_t
|
||||||
+#define loff_t x_loff_t
|
+#define loff_t x_loff_t
|
||||||
+#define dev_t x_dev_t
|
+#define dev_t x_dev_t
|
||||||
|
+#define mode_t x_mode_t
|
||||||
|
+#define uid_t x_uid_t
|
||||||
|
+#define gid_t x_gid_t
|
||||||
+#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
|
||||||
|
@ -33,6 +36,9 @@
|
||||||
+#undef ino_t
|
+#undef ino_t
|
||||||
+#undef off_t
|
+#undef off_t
|
||||||
+#undef dev_t
|
+#undef dev_t
|
||||||
|
+#undef mode_t
|
||||||
|
+#undef uid_t
|
||||||
|
+#undef gid_t
|
||||||
+#undef nlink_t
|
+#undef nlink_t
|
||||||
+#undef timer_t
|
+#undef timer_t
|
||||||
+#undef blkcnt_t
|
+#undef blkcnt_t
|
||||||
|
|
Loading…
Reference in a new issue