summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ntop/files/ntop-5.0.1-includes.patch')
-rw-r--r--net-analyzer/ntop/files/ntop-5.0.1-includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/ntop/files/ntop-5.0.1-includes.patch b/net-analyzer/ntop/files/ntop-5.0.1-includes.patch
new file mode 100644
index 000000000000..fcd5f28d3491
--- /dev/null
+++ b/net-analyzer/ntop/files/ntop-5.0.1-includes.patch
@@ -0,0 +1,20 @@
+--- 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
+