um: Include sys/uio.h to have writev()
[ Upstream commit0053102a86
] sys/uio.h gives us writev(), otherwise the build might fail on some systems. Fixes:49da7e64f3
("High Performance UML Vector Network Driver") Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
18bd3588a5
commit
a4a8cec1aa
@ -30,6 +30,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <os.h>
|
||||
#include <um_malloc.h>
|
||||
#include <sys/uio.h>
|
||||
#include "vector_user.h"
|
||||
|
||||
#define ID_GRE 0
|
||||
|
Reference in New Issue
Block a user