1 The sources include a copy of the header. As of 2016, they are identical
2 to those that come with tuntap drivers - and future-wise, they should match.
3 So we use system copy of the header instead, and require the 'header-tun'
4 package as part of the recipe.
6 --- ./tunctl.c.~1~ 2014-12-14 12:59:41.000000000 +0100
7 +++ ./tunctl.c 2016-11-20 00:12:57.004129056 +0100
13 +#include <net/if_tun.h>
17 --- ./Makefile.in.~2~ 2014-12-14 12:59:41.000000000 +0100
18 +++ ./Makefile.in 2016-11-20 00:07:51.307370977 +0100
23 -tunctl: $(SRCDIR)/tunctl.c $(SRCDIR)/if_tun.h
24 +tunctl: $(SRCDIR)/tunctl.c
25 $(CC) $(CFLAGS) $(LDFLAGS) $(SRCDIR)/tunctl.c -o tunctl