aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptunnel.h')
-rw-r--r--src/ptunnel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ptunnel.h b/src/ptunnel.h
index 7566f92..d93f997 100644
--- a/src/ptunnel.h
+++ b/src/ptunnel.h
@@ -45,6 +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