diff options
Diffstat (limited to 'slirp/if.h')
-rw-r--r-- | slirp/if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/if.h b/slirp/if.h index bf24174a69..8f78ce7b69 100644 --- a/slirp/if.h +++ b/slirp/if.h @@ -29,6 +29,7 @@ extern struct mbuf *next_m; #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) +#ifdef LOG_ENABLED /* Interface statistics */ struct slirp_ifstats { u_int out_pkts; /* Output packets */ @@ -46,5 +47,6 @@ struct slirp_ifstats { u_int in_mbad; /* Bad incoming packets */ }; +#endif #endif |