From 8bedb290e82b3e7bfa5ae6bb010906e1a9838a74 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Thu, 25 Sep 2025 12:08:30 -0400 Subject: [PATCH 1/2] native_simulator: include folder for missing asm/errno.h On an x86_64 Ubuntu host, the following command would result in an error. ```shell west build -p -b native_sim/native tests/net/wifi/configs \ -T wifi.build.hostapd_ap ... In file included from /usr/include/bits/errno.h:26, from /usr/include/errno.h:28, from ~/zephyrproject/zephyr/scripts/native_simulator/\ /common/src/nce.c:24: /usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: \ No such file or directory 1 | #include | ^~~~~~~~~~~~~ compilation terminated. ``` Include `/usr/include/x86_64-linux-gnu` in the search path so that the build succeeds. Signed-off-by: Chris Friedt --- scripts/native_simulator/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/native_simulator/Makefile b/scripts/native_simulator/Makefile index 905fe88be98e1..2a9b6594e0890 100644 --- a/scripts/native_simulator/Makefile +++ b/scripts/native_simulator/Makefile @@ -65,6 +65,7 @@ NSI_OPT?=-O0 NSI_WARNINGS?=-Wall -Wpedantic # Preprocessor flags NSI_CPPFLAGS?=-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED +NSI_CPPFLAGS+=-I/usr/include/x86_64-linux-gnu NO_PIE_CO:=-fno-pie -fno-pic DEPENDFLAGS:=-MMD -MP From db27a68c8f92151d76a5e0713a305ca68610e633 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Thu, 25 Sep 2025 12:17:33 -0400 Subject: [PATCH 2/2] manifest: update hostap module to correct time.h and signal.h paths Update the hostap module to use non-prefixed paths for the ISO C time.h and signal.h headers. Signed-off-by: Chris Friedt --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index b32650989bacb..dc597e3f30ddb 100644 --- a/west.yml +++ b/west.yml @@ -286,7 +286,7 @@ manifest: - hal - name: hostap path: modules/lib/hostap - revision: 0798bf0faff40919bd577f1c8f75a2f9baae6299 + revision: pull/105/head - name: liblc3 revision: 48bbd3eacd36e99a57317a0a4867002e0b09e183 path: modules/lib/liblc3