ports/sysutils/logrotate/files/patch-logrotate.c
Pav Lucistnik 76b68a5d73 - Update to 3.7.9
PR:		ports/148849
Submitted by:	Balazs Nagy <js@iksz.hu> (maintainer)
2010-08-26 09:20:52 +00:00

18 lines
378 B
C

diff --git a/logrotate.c b/logrotate.c
index 3748918..a528367 100644
--- a/logrotate.c
+++ b/logrotate.c
@@ -1,5 +1,4 @@
#include <sys/queue.h>
-#include <alloca.h>
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
@@ -16,6 +15,7 @@
#include <locale.h>
#include <sys/types.h>
#include <utime.h>
+#include <limits.h>
#if defined(SunOS)
#include <syslimits.h>