From 10378374eca49543a78ec004b10f229b9e4082b3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 14 Jun 2014 14:34:41 +0200 Subject: Add missing sys/uio.h includes --- src/async.c | 2 ++ src/receive.c | 2 ++ src/send.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/async.c b/src/async.c index 4a2de10..d445f0a 100644 --- a/src/async.c +++ b/src/async.c @@ -33,6 +33,8 @@ #include "async.h" #include "fastd.h" +#include + /** The packet header used on the async notification sockets */ typedef struct fastd_async_hdr { diff --git a/src/receive.c b/src/receive.c index d954102..7b00f2c 100644 --- a/src/receive.c +++ b/src/receive.c @@ -35,6 +35,8 @@ #include "peer.h" #include "peer_hashtable.h" +#include + /** Handles the ancillary control messages of received packets */ static inline void handle_socket_control(struct msghdr *message, const fastd_socket_t *sock, fastd_peer_address_t *local_addr) { diff --git a/src/send.c b/src/send.c index 9de0b3b..be5c390 100644 --- a/src/send.c +++ b/src/send.c @@ -33,6 +33,8 @@ #include "fastd.h" #include "peer.h" +#include + /** Adds packet info to ancillary control messages */ static inline void add_pktinfo(struct msghdr *msg, const fastd_peer_address_t *local_addr) { -- cgit v1.2.3