diff options
Diffstat (limited to 'net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch')
-rw-r--r-- | net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch b/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch new file mode 100644 index 000000000000..f0f0ea508a71 --- /dev/null +++ b/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch @@ -0,0 +1,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> + */ |