Fixup: Redeclaring local variables in the ifconf_to_smartlist() function.
Including net/if.h to silence compiler warning/errors about struct ifconf.