1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 12:53:54 +02:00
openwrt-packages/net/libreswan/patches/020-limits.patch
Lucian Cristian a707fcc88d libreswan: update to 4.9
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-10-21 15:08:40 -07:00

21 lines
497 B
Diff

--- a/programs/pluto/connections.c
+++ b/programs/pluto/connections.c
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
+#include <limits.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/socket.h>
--- a/programs/pluto/rcv_whack.c
+++ b/programs/pluto/rcv_whack.c
@@ -36,6 +36,7 @@
#include <resolv.h>
#include <fcntl.h>
#include <unistd.h> /* for gethostname() */
+#include <limits.h>
#include <event2/event.h>
#include <event2/event_struct.h>