diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-14 14:34:41 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-14 14:34:41 +0200 |
commit | 10378374eca49543a78ec004b10f229b9e4082b3 (patch) | |
tree | 34632715d442965f8a22b1adc37644692a0c141f /src | |
parent | c17bdd0818efcbf9ced46ff47a9fc06ee7d6837b (diff) | |
download | fastd-10378374eca49543a78ec004b10f229b9e4082b3.tar fastd-10378374eca49543a78ec004b10f229b9e4082b3.zip |
Add missing sys/uio.h includes
Diffstat (limited to 'src')
-rw-r--r-- | src/async.c | 2 | ||||
-rw-r--r-- | src/receive.c | 2 | ||||
-rw-r--r-- | src/send.c | 2 |
3 files changed, 6 insertions, 0 deletions
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 <sys/uio.h> + /** 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 <sys/uio.h> + /** 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) { @@ -33,6 +33,8 @@ #include "fastd.h" #include "peer.h" +#include <sys/uio.h> + /** Adds packet info to ancillary control messages */ static inline void add_pktinfo(struct msghdr *msg, const fastd_peer_address_t *local_addr) { |