Description: Fix implicit function declarations by adding some includes
 Initial version of this patch (filter.c only) by Logan Rosen from
 Ubuntu.
 .
 audit.c, strtokq.c and istrcmp.c additions by Axel Beckert.
 .
 This also fixes a segfault during logging on 64-bit platforms as
 described on
 https://qa.debian.org/bls/bytag/E-pointer-trouble-at-implicit.html
Origin: https://launchpadlibrarian.net/219849413/filter_2.6.3-1_2.6.3-1ubuntu1.diff.gz
Author: Logan Rosen <logan@ubuntu.com>
Author: Axel Beckert <abe@debian.org>
Reviewed-By: Axel Beckert <abe@debian.org>
Last-Update: 2016-02-21
Bug-Debian: https://bugs.debian.org/815438

Index: filter/filter.c
===================================================================
--- filter.orig/filter.c	2016-02-21 15:55:37.914726554 +0100
+++ filter/filter.c	2016-02-21 15:55:37.914726554 +0100
@@ -111,6 +111,7 @@
 
 
 #include "version.h"
+#include "utils.h"
 
 void usage()
 {
Index: filter/audit.c
===================================================================
--- filter.orig/audit.c	2016-02-21 15:55:37.914726554 +0100
+++ filter/audit.c	2016-02-21 15:55:37.914726554 +0100
@@ -34,9 +34,7 @@
 #include <fcntl.h>
 #include <errno.h>
 
-#ifdef I_TIME
-#  include <time.h>
-#endif
+#include <time.h>
 #ifdef I_SYSTIME
 #  include <sys/time.h>
 #endif
Index: filter/strtokq.c
===================================================================
--- filter.orig/strtokq.c	2016-02-21 15:55:37.914726554 +0100
+++ filter/strtokq.c	2016-02-21 15:55:37.914726554 +0100
@@ -9,6 +9,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 
 char *strtokq(source, keys, flag)
 char *source, *keys;
Index: filter/istrcmp.c
===================================================================
--- filter.orig/istrcmp.c	2016-02-19 18:42:52.667940498 +0100
+++ filter/istrcmp.c	2016-02-21 15:55:56.922656841 +0100
@@ -34,6 +34,7 @@
 
 **/
 
+#include "defs.h";
 
 int
 istrcmp(s1,s2)
