Added missing limits header. This is normally included in fortify-headers, which I have disabled locally. Signed-off-by: Rosen Penev <rosenp@gmail.com>
20 lines
492 B
Diff
20 lines
492 B
Diff
--- a/programs/pluto/connections.c
|
|
+++ b/programs/pluto/connections.c
|
|
@@ -34,6 +34,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 <libreswan.h>
|
|
#include "libreswan/pfkeyv2.h"
|