> +#ifdef CONFIG_SLIRP > +static inline void slirp_update_timeout(uint32_t *timeout) > +{ > + *timeout = MIN(1000, *timeout); > +} > +#else > +static inline void slirp_update_timeout(uint32_t *timeout) { } > +#endif
Shouldn't we be testing whether slirp is actually in use? I doubt many people go to the effort of rebuilding without SLIRP support. Paul