jer 14/10/12 10:06:10 Added: netwatch-1.3.0.1-includes.patch Log: Fix some missing includes. (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch?rev=1.1&content-type=text/plain Index: netwatch-1.3.0.1-includes.patch =================================================================== --- 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> */
