From 8f74d5733d6a994acf1ddc985c5a3673619fd805 Mon Sep 17 00:00:00 2001 From: Adrian ZgorzaƂek Date: Sat, 1 Aug 2020 23:25:13 +0100 Subject: OpenBSD: Introduce pkt_timeval to deal with (bpf_)_timeval Some BSD APIs called in example/ return `struct bpf_timeval`, where nDPI APIs expect `struct timeval`. These two structs, besides having a different name, share the exact same set of fields. --- src/lib/ndpi_community_id.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/ndpi_community_id.c') diff --git a/src/lib/ndpi_community_id.c b/src/lib/ndpi_community_id.c index 72f60c746..cc8436928 100644 --- a/src/lib/ndpi_community_id.c +++ b/src/lib/ndpi_community_id.c @@ -31,6 +31,7 @@ #include "ndpi_api.h" #include "ndpi_config.h" +#include "ndpi_includes.h" #include #ifndef WIN32 -- cgit v1.2.3