You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.p...

23 lines
489 B

--- 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>
*/