[linux] Add missing include in nbio_linux.c.

On musl-libc, the compiler would print a warning for nbio_linux.c:
"warning: 'struct timespec' declared inside parameter list will not be
visible outside of this definition or declaration", indicating a missing
header defining this structure.

On glibc, this definition is provided through the stdlib header.
This commit is contained in:
Érico Rolim 2020-08-09 23:40:26 -03:00
parent 5f702a766f
commit 057dd563aa

View File

@ -31,6 +31,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>