Skip to content

Commit aac54c3

Browse files
committed
fix(build): fix build by enabling the POSIX API
### Summary Zephyr [recently deprecated](zephyrproject-rtos/zephyr#69950) the `CONFIG_NET_SOCKETS_POSIX_NAMES` option, which was was previously `y` by default when `CONFIG_POSIX_API=n` but is now n by default. This option matters because it adds the POSIX API to the `net/socket.h` header, which we reference in `memfault_platform_http.c`. This fix instead makes our http client code include the `posix/*` headers to get the POSIX API. ### Test Plan Builds successfully.
1 parent 8bdfd03 commit aac54c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

overlay-http.conf

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Memfault internet settings
22
CONFIG_MEMFAULT_HTTP_ENABLE=y
33
CONFIG_MEMFAULT_HTTP_PERIODIC_UPLOAD=y
4+
CONFIG_POSIX_API=y
45

56
# Network settings
67
CONFIG_NETWORKING=y

0 commit comments

Comments
 (0)