summaryrefslogtreecommitdiff
path: root/include/compile_time_macros.h
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-05-09 16:00:03 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-09 18:43:20 +0000
commit041042627a750d7a141ce2392630464a24be39b5 (patch)
tree9cf331ac3543bba51c5d3c3ce12924cf0dada07e /include/compile_time_macros.h
parenta6fcdc3cffaf8d987514fcac48645869f171ac3e (diff)
downloadchrome-ec-041042627a750d7a141ce2392630464a24be39b5.tar.gz
zephyr: add a zephyr/ prefix to all zephyr includes
This adds a zephyr/ prefix to all #include path pointing to Zephyr header files, so that we could drop LEGACY_INCLUD_PATH once all upstream code has been converted. Generated using something similar to the script in: c7b5b3c419 samples: migrate includes to contain <zephyr/...> prefix BRANCH=none BUG=none TEST=cq dry run Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I5ba2c859fe10a34ea8d3a49a612132ea4d02f2cb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3634345 Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'include/compile_time_macros.h')
-rw-r--r--include/compile_time_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compile_time_macros.h b/include/compile_time_macros.h
index afb2c30d19..0151f1a391 100644
--- a/include/compile_time_macros.h
+++ b/include/compile_time_macros.h
@@ -14,7 +14,7 @@
/* sys/util.h in zephyr provides equivalents to most of these macros */
#ifdef CONFIG_ZEPHYR
-#include <sys/util.h>
+#include <zephyr/sys/util.h>
#endif
#ifdef __cplusplus