I'm using Solaris 9 x86.I get this during ./configure:

checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h:     check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------- ##
configure: WARNING:     ## Report this to the etherape lists.  ##
configure: WARNING:     ## ----------------------------------- ##

Compilation then fails with these messages:

util.c: In Funktion get_interface_list:
util.c:138: error: `SIOCGIFCONF' undeclared (first use in this function)
util.c:138: error: (Each undeclared identifier is reported only once
util.c:138: error: for each function it appears in.)
util.c:176: error: `SIOCGIFFLAGS' undeclared (first use in this function)
gmake[2]: *** [util.o] Error 1
gmake[2]: Leaving directory `/root/etherape-0.9.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/etherape-0.9.1'
gmake: *** [all] Error 2

Does anybody have a solution?