Skip to content

Commit 8a89470

Browse files
committed
Fix for liboqs on zephyr
When using WolfSSL on zephyr, we need POSIX names for networking systems calls. This can either be enabled with CONFIG_NET_SOCKETS_POSIX_NAMES or with CONFIG_POSIX_API. This commit enables support for the latter. Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
1 parent 0780fd9 commit 8a89470

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ extern void uITRON4_free(void *p) ;
19081908
void *z_realloc(void *ptr, size_t size);
19091909
#define realloc z_realloc
19101910

1911-
#ifndef CONFIG_NET_SOCKETS_POSIX_NAMES
1911+
#if !defined(CONFIG_NET_SOCKETS_POSIX_NAMES) && !defined(CONFIG_POSIX_API)
19121912
#define CONFIG_NET_SOCKETS_POSIX_NAMES
19131913
#endif
19141914
#endif

0 commit comments

Comments
 (0)