Description: Fix build with GCC-14
Author: Marcos Talau <talau@debian.org>
Bug-Debian: https://bugs.debian.org/1074956
Forwarded: not-needed
Last-Update: 2024-09-21

Index: filter-2.6.3+ds1/filter.c
===================================================================
--- filter-2.6.3+ds1.orig/filter.c
+++ filter-2.6.3+ds1/filter.c
@@ -161,7 +161,7 @@ char *buffer;
 }
 #endif
 
-main(argc, argv)
+int main(argc, argv)
 int argc;
 char *argv[];
 {
Index: filter-2.6.3+ds1/rules.c
===================================================================
--- filter-2.6.3+ds1.orig/rules.c
+++ filter-2.6.3+ds1/rules.c
@@ -98,6 +98,7 @@ static char rcsid[] ="@(#)$Id: rules.c,v
 #  include <sys/time.h>
 #endif
 #include <fcntl.h>
+#include <time.h>
 
 #include "filter.h"
 #include "s_filter.h"
