Index: nDPI/example/reader_util.c --- nDPI/example/reader_util.c.orig +++ nDPI/example/reader_util.c @@ -24,6 +24,12 @@ #ifdef HAVE_CONFIG_H #include "ndpi_config.h" #endif +#ifndef DLT_IPV4 +#define DLT_IPV4 228 +#endif +#ifndef DLT_IPV6 +#define DLT_IPV6 229 +#endif #include #include