blob: f0f0ea508a71f3261feadccb5488d6d6a681d6d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- 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>
*/
|