aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2022-03-22 10:50:53 +0200
committerMatias Elo <matias.elo@nokia.com>2022-03-22 15:27:42 +0200
commit30d8a47fca779611c153cec6537a3585d61fc696 (patch)
tree3b0777769f1de31cc1b829d03c43660ff5f76b71 /helper
parent944e373c76e8c771a4e2cd4eb24aac33cbfe9820 (diff)
helper: add missing odp_api.h includes
Added three missing ODP API header includes and removed one include that was not needed. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/include/odp/helper/cli.h2
-rw-r--r--helper/include/odp/helper/linux/process.h1
-rw-r--r--helper/include/odp/helper/linux/pthread.h1
-rw-r--r--helper/include/odp/helper/threads.h1
4 files changed, 3 insertions, 2 deletions
diff --git a/helper/include/odp/helper/cli.h b/helper/include/odp/helper/cli.h
index b2f88d7bc..e9351147f 100644
--- a/helper/include/odp/helper/cli.h
+++ b/helper/include/odp/helper/cli.h
@@ -21,8 +21,6 @@
extern "C" {
#endif
-#include <odp_api.h>
-#include <odp/helper/ip.h>
#include <stdint.h>
#include <stdarg.h>
diff --git a/helper/include/odp/helper/linux/process.h b/helper/include/odp/helper/linux/process.h
index 679c6c907..620db7405 100644
--- a/helper/include/odp/helper/linux/process.h
+++ b/helper/include/odp/helper/linux/process.h
@@ -18,6 +18,7 @@
#define ODPH_LINUX_PROCESS_H_
#include <odp/helper/threads.h>
+#include <odp_api.h>
#ifdef __cplusplus
extern "C" {
diff --git a/helper/include/odp/helper/linux/pthread.h b/helper/include/odp/helper/linux/pthread.h
index 33109ec65..298536893 100644
--- a/helper/include/odp/helper/linux/pthread.h
+++ b/helper/include/odp/helper/linux/pthread.h
@@ -18,6 +18,7 @@
#define ODPH_LINUX_PTHREAD_H_
#include <odp/helper/threads.h>
+#include <odp_api.h>
#ifdef __cplusplus
extern "C" {
diff --git a/helper/include/odp/helper/threads.h b/helper/include/odp/helper/threads.h
index cfde92830..53ce8cd07 100644
--- a/helper/include/odp/helper/threads.h
+++ b/helper/include/odp/helper/threads.h
@@ -24,6 +24,7 @@ extern "C" {
#endif
#include <odp/helper/deprecated.h>
+#include <odp_api.h>
#include <pthread.h>
#include <getopt.h>