1
0
Fork 0
forked from nuttx/nuttx-update

net/tcp/tcp_setsockopt.c: Fix compilation failure found in build testing. Error: invalia application of 'sizeof' to incomplete type 'struct timeval'. Fixed by including sys/time.h.

This commit is contained in:
Gregory Nutt 2020-01-11 13:21:51 -06:00 committed by Alan Carvalho de Assis
parent 45a83e9481
commit 3374772580

View file

@ -39,6 +39,7 @@
#include <nuttx/config.h>
#include <sys/time.h>
#include <stdint.h>
#include <errno.h>
#include <assert.h>