summaryrefslogtreecommitdiff
path: root/src/linux/tun.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2018-06-08 18:35:40 +0200
committerChristian Pointner <equinox@anytun.org>2018-06-08 19:45:50 +0200
commit60e0d49bd097ca5e3771e3fa8ce9b8e8686c3910 (patch)
tree9f7ccfc69164c5d91251c14bb9b18b8e3d265c11 /src/linux/tun.c
parentfix another off-by-one error in sprintf (diff)
fix missing include in linux/tun.c
Diffstat (limited to 'src/linux/tun.c')
-rw-r--r--src/linux/tun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/tun.c b/src/linux/tun.c
index fccea9c..11fd209 100644
--- a/src/linux/tun.c
+++ b/src/linux/tun.c
@@ -60,6 +60,7 @@
#include <sys/wait.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <sys/uio.h>
#include <arpa/inet.h>
#include <errno.h>
#include <net/if.h>