aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-12-24 12:25:15 +0100
committerToni Uhlig <matzeton@googlemail.com>2018-12-24 12:25:15 +0100
commit2c7c3b62df2661b3276253fb3d8d624d81c398a2 (patch)
tree6e774153116d03025fcfce95e5ed3016af25fa96 /src/ptunnel.h
parent021b6847054cec55303efeec22a179397ce88165 (diff)
added additional autoconf ICMP_FILTER compile check
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/ptunnel.h')
-rw-r--r--src/ptunnel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ptunnel.h b/src/ptunnel.h
index 657a2e6..d93f997 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -45,7 +45,9 @@
#define PING_TUNNEL_H 1
#ifndef WIN32
+#ifdef HAVE_ICMPFILTER
#include <linux/icmp.h>
+#endif
#ifdef HAVE_SYS_UNISTD_H
#include <sys/unistd.h>
#endif