aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/pktio/io_ops.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-10-02 15:48:59 +0300
committerMatias Elo <matias.elo@nokia.com>2019-10-07 09:49:07 +0300
commit18abf931651e3f21bc858efc2f1df50f24821611 (patch)
tree5689fa043b8b899a44d444bfb31b5948acc85bb6 /platform/linux-generic/pktio/io_ops.c
parent60a830b9e000053caab24a0befb578551ba1766b (diff)
linux-gen: include only ODP defines in autogenerated header files
The config.h file has been split into three parts: autoheader_build.h: should NOT be included by ANY source file autoheader_external.h: can be included by any source file, including public headers autoheader_internal.h: can be included by any internal source file, but NOT by public headers autoheader_external.h and autoheader_internal.h are generated based on matching template files (*.in) and include only ODP defines. autoheader_build.h includes all build defines and should not be included by any source file. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/pktio/io_ops.c')
-rw-r--r--platform/linux-generic/pktio/io_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/pktio/io_ops.c b/platform/linux-generic/pktio/io_ops.c
index 9e1ab74ce..e5cffd73a 100644
--- a/platform/linux-generic/pktio/io_ops.c
+++ b/platform/linux-generic/pktio/io_ops.c
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <odp/config.h>
+#include <odp/autoheader_internal.h>
#include <odp_packet_io_internal.h>
/* Ops for all implementation of pktio.