os_support: make poll() fallbacks conditional on CONFIG_NETWORK
poll() is only used by networking code, so the fallback should only be built if networking is enabled. Also remove CONFIG_FFSERVER condition from the declarations. This should fix building on systems without poll(), broken by a8475bbd. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 362d8f7d)
Showing
Please
register
or
sign in
to comment