samples: posix: gettimeofday: include time.h
Due to some previous time-related header issues, we included
`<sys/time.h>` without including `<time.h>`. The latter is
necessary for `time()` (specified by both ISO C and POSIX).
Fixes #53673
Signed-off-by:
Christopher Friedt <cfriedt@meta.com>
Loading
Please sign in to comment