diff --git a/net/ipforward/ipfwd_dropstats.c b/net/ipforward/ipfwd_dropstats.c index d743b17916..e86c6e3968 100644 --- a/net/ipforward/ipfwd_dropstats.c +++ b/net/ipforward/ipfwd_dropstats.c @@ -190,3 +190,5 @@ void ipfwd_dropstats(FAR struct forward_s *fwd) } #endif } + +#endif /* CONFIG_NET_IPFORWARD && CONFIG_NET_STATISTICS */