$OpenBSD: patch-nDPI_example_reader_util_c,v 1.1 2021/07/27 10:27:48 sthen Exp $

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 <stdlib.h>
 
