From 747346c7e6c56f91757b515dd20be6517a9e3b5c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 8 Jul 2015 13:14:23 +0200 Subject: [PATCH] avoid including linux/in6.h, it causes issues in several systems --- src/worker-vpn.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/worker-vpn.c b/src/worker-vpn.c index 7765e844..16754f36 100644 --- a/src/worker-vpn.c +++ b/src/worker-vpn.c @@ -46,9 +46,8 @@ #include #include -#ifdef __linux__ -/* for IPV6_PATHMTU */ -# include +#if defined(__linux__) &&!defined(IPV6_PATHMTU) +# define IPV6_PATHMTU 61 #endif #include