unitas/net-analyzer/ntop/files/ntop-5.0.1-includes.patch

21 lines
388 B
Diff

--- a/nDPI/src/lib/protocols/netflow.c
+++ b/nDPI/src/lib/protocols/netflow.c
@@ -19,6 +19,7 @@
#include "ipq_utils.h"
+#include <time.h> /* time() */
#ifdef NTOP_PROTOCOL_NETFLOW
--- a/nDPI/src/lib/protocols/ssl.c
+++ b/nDPI/src/lib/protocols/ssl.c
@@ -22,6 +22,7 @@
#include "ipq_utils.h"
+#include <ctype.h> /* isalpha() isdigit() ... */
#ifdef IPOQUE_PROTOCOL_SSL