aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-12 15:09:08 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-12 15:21:43 +0200
commit215a5c8d011f2bc3bae3d597774d85a30d7f8f5d (patch)
treea103c4b0c1a86fd5a1d1f3163503f08999ffb6d3
parent638fc607afbd7bffb84b69101c19f18da1c0cb3c (diff)
lib/tun: Add missing #include to net/if.h for IFNAMSIZ
-rw-r--r--lib/tun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tun.h b/lib/tun.h
index 1cd0767..8fa1c61 100644
--- a/lib/tun.h
+++ b/lib/tun.h
@@ -13,6 +13,8 @@
#ifndef _TUN_H
#define _TUN_H
+#include <net/if.h>
+
#include "../lib/in46_addr.h"
#define PACKET_MAX 8196 /* Maximum packet size we receive */