aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/classifier/odp_classifier.c1
-rw-r--r--example/generator/odp_generator.c1
-rw-r--r--example/ipsec/odp_ipsec.c1
-rw-r--r--example/packet/odp_pktio.c1
-rw-r--r--example/switch/odp_switch.c2
-rw-r--r--example/time/time_global_test.c1
-rw-r--r--example/timer/odp_timer_simple.c1
-rw-r--r--example/timer/odp_timer_test.c1
8 files changed, 9 insertions, 0 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index 20e64ece3..1bd241418 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <getopt.h>
#include <unistd.h>
+#include <inttypes.h>
#include <example_debug.h>
#include <odp_api.h>
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c
index 8393244e4..3fea112d0 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
+#include <inttypes.h>
#include <sys/time.h>
#include <example_debug.h>
diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 451bb2d5a..d8ca791c9 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
+#include <inttypes.h>
#include <example_debug.h>
diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c
index 564c63ac6..6e14abb21 100644
--- a/example/packet/odp_pktio.c
+++ b/example/packet/odp_pktio.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <getopt.h>
#include <unistd.h>
+#include <inttypes.h>
#include <example_debug.h>
diff --git a/example/switch/odp_switch.c b/example/switch/odp_switch.c
index 09835c09f..5ce71a9ed 100644
--- a/example/switch/odp_switch.c
+++ b/example/switch/odp_switch.c
@@ -7,6 +7,8 @@
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
+#include <stdlib.h>
+#include <inttypes.h>
#include <odp_api.h>
#include <odp/helper/linux.h>
diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c
index 372d96bb4..380ec5200 100644
--- a/example/time/time_global_test.c
+++ b/example/time/time_global_test.c
@@ -7,6 +7,7 @@
#include <odp_api.h>
#include <example_debug.h>
#include <odp/helper/linux.h>
+#include <inttypes.h>
#define MAX_WORKERS 32
#define ITERATION_NUM 2048
diff --git a/example/timer/odp_timer_simple.c b/example/timer/odp_timer_simple.c
index f33add912..98c08ce4c 100644
--- a/example/timer/odp_timer_simple.c
+++ b/example/timer/odp_timer_simple.c
@@ -12,6 +12,7 @@
#include <string.h>
#include <stdlib.h>
+#include <inttypes.h>
#include <example_debug.h>
/* ODP main header */
diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
index cb58dfe4c..035ab2e0e 100644
--- a/example/timer/odp_timer_test.c
+++ b/example/timer/odp_timer_test.c
@@ -6,6 +6,7 @@
#include <string.h>
#include <stdlib.h>
+#include <inttypes.h>
#include <example_debug.h>