opnsense-ports/sysutils/logrotate/files/patch-logrotate.c
Franco Fichtner 9429da22d1 */*: sync with upstream
Taken from: HardenedBSD
2017-10-17 16:25:04 +02:00

10 lines
315 B
C

--- logrotate.c.orig 2017-10-12 15:19:41.000000000 +0000
+++ logrotate.c 2017-10-14 22:00:57.613844000 +0000
@@ -1,6 +1,6 @@
#include "queue.h"
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <alloca.h>
#endif
#include <limits.h>