summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink.c
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-04-05 14:15:43 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-04-12 16:04:22 +0200
commit54635f435a76ad0f3141b09a9c5072f6e2e8c319 (patch)
treebbeda4674ce976fe8fa106f6585f9dfe6187483c /sysdep/linux/netlink.c
parent711d617dc106a8af34c6c8f3500f337a792f1f3d (diff)
Include local lwtunnel.h unless found in system
Diffstat (limited to 'sysdep/linux/netlink.c')
-rw-r--r--sysdep/linux/netlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index e20512f5..bed97331 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -31,7 +31,11 @@
#include <asm/types.h>
#include <linux/if.h>
+#ifdef HAVE_LWTUNNEL
#include <linux/lwtunnel.h>
+#else
+#include "sysdep/linux/lwtunnel.h"
+#endif
#include <linux/netlink.h>
#include <linux/rtnetlink.h>