aboutsummaryrefslogtreecommitdiff
path: root/slirp/icmp_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/icmp_var.h')
-rw-r--r--slirp/icmp_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/icmp_var.h b/slirp/icmp_var.h
index 03fc8c3ac7..cd865b7971 100644
--- a/slirp/icmp_var.h
+++ b/slirp/icmp_var.h
@@ -64,6 +64,8 @@ struct icmpstat {
{ "stats", CTLTYPE_STRUCT }, \
}
+#ifdef LOG_ENABLED
extern struct icmpstat icmpstat;
+#endif
#endif