PUNT: Missing include for readv() 55/8355/3
authorMarco Varlese <marco.varlese@suse.com>
Fri, 8 Sep 2017 08:40:34 +0000 (10:40 +0200)
committerOle Trøan <otroan@employees.org>
Fri, 8 Sep 2017 15:23:10 +0000 (15:23 +0000)
The missing header include was generating a compile-time error;
src/vnet/ip/punt.c:460:10: error: implicit declaration of function 'readv'

Change-Id: I3f74294e7824ea3602b8d416c86fdada1aac1906
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
src/vnet/ip/punt.c

index 92f76b8..67c54c3 100644 (file)
@@ -34,6 +34,7 @@
 #include <unistd.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <sys/uio.h>
 #include <stdlib.h>
 #include <stdbool.h>