<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix implicit declaration of functions.
--- configure.orig	2004-05-06 15:41:10.000000000 -0500
+++ configure	2021-03-05 12:01:28.000000000 -0600
@@ -1395,6 +1395,7 @@
 #line 1396 "configure"
 #include "confdefs.h"
 #include &lt;ctype.h&gt;
+#include &lt;stdlib.h&gt;
 #define ISLOWER(c) ('a' &lt;= (c) &amp;&amp; (c) &lt;= 'z')
 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 #define XOR(e, f) (((e) &amp;&amp; !(f)) || (!(e) &amp;&amp; (f)))
@@ -1921,6 +1922,8 @@
   cat &gt; conftest.$ac_ext &lt;&lt;EOF
 #line 1923 "configure"
 #include "confdefs.h"
+#include &lt;stdlib.h&gt;
+#include &lt;string.h&gt;
 
 main()
 {
--- src/chgrep.c.orig	2004-06-15 15:07:22.000000000 -0500
+++ src/chgrep.c	2021-03-05 12:04:48.000000000 -0600
@@ -20,6 +20,7 @@
  */
 
 #include	&lt;stdio.h&gt;
+#include	&lt;stdlib.h&gt;
 #include	&lt;sys/stat.h&gt;
 #include	&lt;sys/types.h&gt;
 #include	&lt;utime.h&gt;
@@ -35,6 +36,7 @@
 #include	&lt;limits.h&gt;
 
 #include	"error.h"
+#include	"ftw.h"
 #include	"wrappers.h"
 #include	"functions.h"
 
--- src/error.c.orig	2004-05-29 16:25:07.000000000 -0500
+++ src/error.c	2021-03-05 12:01:28.000000000 -0600
@@ -19,6 +19,8 @@
 
 #include	&lt;stdio.h&gt;
 #include	&lt;stdarg.h&gt;
+#include	&lt;stdlib.h&gt;
+#include	&lt;string.h&gt;
 #include	&lt;syslog.h&gt;
 #include	&lt;errno.h&gt;
 
--- src/functions.c.orig	2004-06-15 15:11:04.000000000 -0500
+++ src/functions.c	2021-03-05 12:03:27.000000000 -0600
@@ -19,6 +19,7 @@
 
 #include	&lt;stdio.h&gt;
 #include	&lt;unistd.h&gt;
+#include	&lt;stdlib.h&gt;
 #include	&lt;string.h&gt;
 #include	&lt;sys/types.h&gt;
 #include	&lt;sys/stat.h&gt;
@@ -28,7 +29,9 @@
 #include	&lt;regex.h&gt;
 #include	&lt;limits.h&gt;
 #include	&lt;dirent.h&gt;
+#include	"error.h"
 #include	"ftw.h"
+#include	"wrappers.h"
 
 #define		MAXLINE	4096
 #define		PERM	0666
--- src/wrappers.c.orig	2004-06-15 14:50:33.000000000 -0500
+++ src/wrappers.c	2021-03-05 12:01:28.000000000 -0600
@@ -19,6 +19,7 @@
 
 #include        &lt;stdio.h&gt;
 #include        &lt;unistd.h&gt;
+#include        &lt;stdlib.h&gt;
 #include        &lt;fcntl.h&gt;
 #include        &lt;sys/types.h&gt;
 #include        &lt;sys/stat.h&gt;
--- src/wrappers.h.orig	2004-06-15 14:52:07.000000000 -0500
+++ src/wrappers.h	2021-03-05 12:05:45.000000000 -0600
@@ -6,7 +6,7 @@
 
 void Unlink(const char *pathname);
 
-ssize_t rite(int fd, void *ptr, size_t nbytes);
+ssize_t Write(int fd, void *ptr, size_t nbytes);
 
 int Open(const char *pathname, int oflag, mode_t mode);
 
@@ -27,3 +27,6 @@
 Sigfunc *Signal(int signo, Sigfunc *func);
 
 void *Malloc(size_t size);
+
+void *Realloc(void *ptr, size_t size);
+
</pre></body></html>