aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-12 15:09:08 +0200
committerHarald Welte <laforge@gnumonks.org>2017-09-05 22:42:17 +0200
commitc55ece8d91d8fd3382e8b775897d21d25e4018b5 (patch)
treee0ebee188042d0f3adede2948742d88a8946b0ad
parent8ffd7fc782a17ffdbd755f1292c7840655c65ce6 (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 */