Skip to content

Commit

Permalink
tests: posix: headers: fix undefined ref to zsock_socketpair
Browse files Browse the repository at this point in the history
Update prj.conf so that

subsys/net/lib/sockets/socketpair.c

is pulled into the build and zsock_socketpair() is
properly defined.

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt committed Apr 3, 2024
1 parent 42d928e commit 3c42dae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/posix/headers/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_NET_SOCKETS=y
CONFIG_NETWORKING=y

# for socketpair to work
CONFIG_NET_SOCKETPAIR=y

# for when CONFIG_POSIX_API is not selected
CONFIG_PTHREAD_IPC=y
CONFIG_POSIX_FS=y
Expand Down

0 comments on commit 3c42dae

Please sign in to comment.