aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2017-09-08 10:40:34 +0200
committerOle Trøan <otroan@employees.org>2017-09-08 15:23:10 +0000
commit2234983112fb9099135fcd1da9186004cbdf6e21 (patch)
tree7d439d703a38e5cb1b89c66115d8d9e1456fcbb2
parentd6042d4f1ea0baf02bc87c72960a331a9e08dfab (diff)
PUNT: Missing include for readv()
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>
-rw-r--r--src/vnet/ip/punt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ip/punt.c b/src/vnet/ip/punt.c
index 92f76b8d669..67c54c3c5c1 100644
--- a/src/vnet/ip/punt.c
+++ b/src/vnet/ip/punt.c
@@ -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>