diff --git a/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h b/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h index b273898..a45a614 100644 --- a/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h +++ b/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h @@ -50,7 +50,7 @@ extern "C" { #include #if defined(SL_PLATFORM_MULTI_THREADED) /* Use Zephyr posix headers */ -#include +#include #include #include #include diff --git a/simplelink/source/ti/net/slnetsock.h b/simplelink/source/ti/net/slnetsock.h index 5c79916..1fe4c62 100644 --- a/simplelink/source/ti/net/slnetsock.h +++ b/simplelink/source/ti/net/slnetsock.h @@ -196,7 +196,8 @@ interface. Some are mandatory, others are optional (but recommended). * Can remove this if support for CONFIG_NET_SOCKETS_POSIX_NAMES * is dropped someday */ -#ifndef CONFIG_NET_SOCKETS_POSIX_NAMES +#if defined(CONFIG_NET_SOCKETS_POSIX_NAMES) || defined(CONFIG_POSIX_CLOCK) \ + || defined(CONFIG_POSIX_API) #include #endif