Skip to content
Commit 697f415b authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: sockets: Use struct timeval provided by libc



Instead of redefining own `struct zsock_timeval` type at the socket
layer, use a standard type provided by libc. This prevents the
compliation errors when application includes both, `net/socket.h` and
standard C header defining `struct timeval` (sys/time.h).

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent e745962b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment