aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2016-07-22 15:10:34 +0100
committerZoltan Kiss <zoltan.kiss@linaro.org>2016-07-22 16:49:24 +0100
commit018121622f6d3102e9bf180a3f28c8bcbf3972ce (patch)
tree823b02cb19b09a16fa4133b450453019586cd18b
parentd8d067529d2305b621dad481f3e3b786d8578cd8 (diff)
Port d1d06aa "linux-gen: std_types: remove extra c headers"
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
-rw-r--r--platform/linux-dpdk/include/odp_buffer_internal.h1
-rw-r--r--platform/linux-dpdk/odp_buffer.c1
-rw-r--r--platform/linux-dpdk/odp_packet.c1
-rw-r--r--platform/linux-dpdk/odp_pool.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_buffer_internal.h b/platform/linux-dpdk/include/odp_buffer_internal.h
index 173f064a0..3e45f0d46 100644
--- a/platform/linux-dpdk/include/odp_buffer_internal.h
+++ b/platform/linux-dpdk/include/odp_buffer_internal.h
@@ -32,6 +32,7 @@ extern "C" {
#include <odp/api/event.h>
#include <odp_forward_typedefs_internal.h>
#include <odp_schedule_if.h>
+#include <stddef.h>
/* DPDK */
#include <rte_mbuf.h>
diff --git a/platform/linux-dpdk/odp_buffer.c b/platform/linux-dpdk/odp_buffer.c
index 3966da8f9..963f97974 100644
--- a/platform/linux-dpdk/odp_buffer.c
+++ b/platform/linux-dpdk/odp_buffer.c
@@ -11,6 +11,7 @@
#include <string.h>
#include <stdio.h>
+#include <inttypes.h>
odp_buffer_t odp_buffer_from_event(odp_event_t ev)
{
diff --git a/platform/linux-dpdk/odp_packet.c b/platform/linux-dpdk/odp_packet.c
index 260217aef..1239c81c3 100644
--- a/platform/linux-dpdk/odp_packet.c
+++ b/platform/linux-dpdk/odp_packet.c
@@ -18,6 +18,7 @@
#include <string.h>
#include <stdio.h>
#include <stddef.h>
+#include <inttypes.h>
/* These are the offsets for packet accessors for inlining. */
const unsigned int buf_addr_offset = offsetof(odp_packet_hdr_t, buf_hdr) +
diff --git a/platform/linux-dpdk/odp_pool.c b/platform/linux-dpdk/odp_pool.c
index 1f7704690..67e2fb259 100644
--- a/platform/linux-dpdk/odp_pool.c
+++ b/platform/linux-dpdk/odp_pool.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
+#include <inttypes.h>
/* for DPDK */
#include <odp_packet_dpdk.h>