Commit ea366ecc authored by Keith Packard's avatar Keith Packard Committed by Carles Cufi
Browse files

posix: Need sys/types.h to get suseconds_t defined



Picolibc's sys/_timeval.h (which Zephyr shouldn't be using) needs
sys/types.h to be included first so that __suseconds_t is defined.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 8d176ea9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ struct timeval {
#endif

#else
#include <sys/types.h>
#include <sys/_timeval.h>
#endif /* CONFIG_NEWLIB_LIBC */