From 0e18007eda171cc96f53fa668a09537287af3b8e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 7 Aug 2013 01:29:49 +0200 Subject: Include net/if_tun.h instead of linux/if_tun.h on non-Linux systems --- src/fastd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/fastd.c b/src/fastd.c index 22f292f..6f6a501 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -32,7 +32,6 @@ #include #include -#include #include #include #include @@ -42,6 +41,12 @@ #include #include +#ifdef __linux__ +#include +#else +#include +#endif + static volatile bool sighup = false; static volatile bool terminate = false; -- cgit v1.2.3