<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/chain.c
+++ b/chain.c
@@ -21,7 +21,7 @@ Author : Peter Turczak &lt;p_turczak@wiwa.de&gt;
 #include "chain.h"
 #include &lt;stdio.h&gt;
 #include &lt;stdlib.h&gt;
-
+#include &lt;string.h&gt;
 
 struct element* newchain()
 {
--- a/filedb.c
+++ b/filedb.c
@@ -1,5 +1,7 @@
 #include &lt;sys/types.h&gt;
 #include &lt;sys/stat.h&gt;
+#include &lt;stdlib.h&gt;
+#include &lt;string.h&gt;
 #include &lt;unistd.h&gt;
 #include "chain.h"
 #include "filedb.h"
--- a/inifile.c
+++ b/inifile.c
@@ -1,5 +1,6 @@
 #include &lt;stdio.h&gt;
 #include &lt;stdlib.h&gt;
+#include &lt;string.h&gt;
 #include "inifile.h"
 
 /*
--- a/watchd.c
+++ b/watchd.c
@@ -25,6 +25,7 @@ Syntax   : watchd
 #include &lt;sys/types.h&gt;
 #include &lt;sys/timeb.h&gt;
 #include &lt;sys/stat.h&gt;
+#include &lt;sys/time.h&gt;
 #include &lt;sys/wait.h&gt;
 #include &lt;stdio.h&gt;
 #include &lt;stdlib.h&gt;
diff --git a/watchd.c b/watchd.c
index 842e186..49edb64 100644
--- a/watchd.c
+++ b/watchd.c
@@ -52,6 +52,9 @@ Syntax   : watchd
 #define FL_LOG_MAIL		256
 #define FL_LOG_ALWAYS		512
 
+int isdir(char *name);
+void ini_close(inifile *i);
+
 typedef struct Twatchfolder 
 		{
 		 char* runprg;
</pre></body></html>