diff mbox series

[API-NEXT,v7,5/9] linux-gen: don't include odp_ipsec_internal.h in odp_packet_internal.h

Message ID 1511352009-8608-6-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [API-NEXT,v7,1/9] validation: ipsec: add ipv4 name parts | expand

Commit Message

Github ODP bot Nov. 22, 2017, noon UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Such include adds unnecessary build dependencies. Just include
<odp/api/ipsec.h>, which is enough.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 304 (lumag:ipsec-ipv6-2)
 ** https://github.com/Linaro/odp/pull/304
 ** Patch: https://github.com/Linaro/odp/pull/304.patch
 ** Base sha: b95e7d08043ba45d12635c5afaa3fbf3a07ecc90
 ** Merge commit sha: c41aaa7560db330ca3ffd2407b694000e094b5fc
 **/
 platform/linux-generic/include/odp_packet_internal.h | 2 +-
 platform/linux-generic/pktio/loop.c                  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h
index ab31d0704..58b7ffe7f 100644
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@ -25,7 +25,7 @@  extern "C" {
 #include <odp/api/packet.h>
 #include <odp/api/packet_io.h>
 #include <odp/api/crypto.h>
-#include <odp_ipsec_internal.h>
+#include <odp/api/ipsec.h>
 #include <odp/api/plat/packet_types.h>
 #include <odp_queue_if.h>
 
diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c
index 8bb4b4f14..199aa482f 100644
--- a/platform/linux-generic/pktio/loop.c
+++ b/platform/linux-generic/pktio/loop.c
@@ -11,6 +11,7 @@ 
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
 #include <odp_classification_internal.h>
+#include <odp_ipsec_internal.h>
 #include <odp_debug_internal.h>
 #include <odp/api/hints.h>
 #include <odp_queue_if.h>