From 118d129d6afebfde9474256d577dfdcb5c35f144 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 3 Feb 2020 21:05:52 -0800 Subject: libreswan: fix compilation with musl Added missing limits header. This is normally included in fortify-headers, which I have disabled locally. Signed-off-by: Rosen Penev --- net/libreswan/patches/020-limits.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net/libreswan/patches/020-limits.patch (limited to 'net/libreswan/patches/020-limits.patch') diff --git a/net/libreswan/patches/020-limits.patch b/net/libreswan/patches/020-limits.patch new file mode 100644 index 000000000..5a5635698 --- /dev/null +++ b/net/libreswan/patches/020-limits.patch @@ -0,0 +1,20 @@ +--- a/programs/pluto/connections.c ++++ b/programs/pluto/connections.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- a/programs/pluto/rcv_whack.c ++++ b/programs/pluto/rcv_whack.c +@@ -36,6 +36,7 @@ + #include + #include + #include /* for gethostname() */ ++#include + + #include + #include "libreswan/pfkeyv2.h" -- cgit v1.2.3