summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-10-08 11:42:27 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-10-08 11:42:27 +0200
commit3af8de5a58b16c6503ce07aab43eab865e1f51cf (patch)
treeda5bc73f51ed95780eec968e2716dced0f5bf31b /examples
parent315f90f9828ddfa2e580f45afb1a3d6804bab923 (diff)
Fixed compile error due to missing stdint.h include before ndpi_typedefs.h
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/c-captured/c-captured.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/c-captured/c-captured.c b/examples/c-captured/c-captured.c
index ba7cbe53f..1d5cc2e55 100644
--- a/examples/c-captured/c-captured.c
+++ b/examples/c-captured/c-captured.c
@@ -1,12 +1,12 @@
#include <arpa/inet.h>
#include <errno.h>
#include <linux/limits.h>
-#include <ndpi_typedefs.h>
#include <netinet/ip_icmp.h>
#include <netinet/tcp.h>
#include <netinet/udp.h>
#include <pcap/pcap.h>
#include <signal.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -17,6 +17,8 @@
#include <time.h>
#include <unistd.h>
+#include <ndpi_typedefs.h>
+
#include "nDPIsrvd.h"
#include "utarray.h"
#include "utils.h"