aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2023-09-26 23:10:57 +0200
committerGitHub <noreply@github.com>2023-09-26 23:10:57 +0200
commitef3adb98308f14628e64b918f739e472de00cfcf (patch)
treea4bfc6a5a4e5d419e7088e5176e724990ab033fb /example/reader_util.c
parent725fcf4852f06e2f54469c2439d13169d5d68d09 (diff)
Added printf/fprintf replacement for some internal modules. (#1974)
* logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index fff77f139..7f8408466 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -40,6 +40,7 @@
#else
#include <unistd.h>
#include <netinet/in.h>
+#include <netinet/ip.h>
#endif
#include "reader_util.h"