fix some ansi c issues
deal with old and/or broken ethtool.h