summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-06-14 14:34:41 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-06-14 14:34:41 +0200
commit10378374eca49543a78ec004b10f229b9e4082b3 (patch)
tree34632715d442965f8a22b1adc37644692a0c141f
parentc17bdd0818efcbf9ced46ff47a9fc06ee7d6837b (diff)
downloadfastd-10378374eca49543a78ec004b10f229b9e4082b3.tar
fastd-10378374eca49543a78ec004b10f229b9e4082b3.zip
Add missing sys/uio.h includes
-rw-r--r--src/async.c2
-rw-r--r--src/receive.c2
-rw-r--r--src/send.c2
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) {
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 <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) {