--- a/warning.c +++ b/warning.c @@ -2,6 +2,9 @@ #include "netwatch.h" #include <syslog.h> #include <stdio.h> +#include <time.h> /* time() ctime() */ +#include <stdlib.h> /* system() */ +#include <unistd.h> /* unlink() */ static FILE *tmpfp; static char tmpname[256]; --- a/netwatch.c +++ b/netwatch.c @@ -71,6 +71,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <ctype.h> /* isalnum() isspace() ispunct() */ /* * #include <sys/socket.h> */